Symbol: tws_softc
sys/dev/tws/tws.c
113
struct tws_softc *sc = dev->si_drv1;
sys/dev/tws/tws.c
123
struct tws_softc *sc = dev->si_drv1;
sys/dev/tws/tws.c
133
struct tws_softc *sc = dev->si_drv1;
sys/dev/tws/tws.c
143
struct tws_softc *sc = dev->si_drv1;
sys/dev/tws/tws.c
180
struct tws_softc *sc = device_get_softc(dev);
sys/dev/tws/tws.c
348
struct tws_softc *sc = device_get_softc(dev);
sys/dev/tws/tws.c
431
tws_setup_intr(struct tws_softc *sc, int irqs)
sys/dev/tws/tws.c
451
tws_teardown_intr(struct tws_softc *sc)
sys/dev/tws/tws.c
466
tws_setup_irq(struct tws_softc *sc)
sys/dev/tws/tws.c
505
tws_init(struct tws_softc *sc)
sys/dev/tws/tws.c
52
extern int tws_cam_attach(struct tws_softc *sc);
sys/dev/tws/tws.c
53
extern void tws_cam_detach(struct tws_softc *sc);
sys/dev/tws/tws.c
54
extern int tws_init_ctlr(struct tws_softc *sc);
sys/dev/tws/tws.c
55
extern boolean tws_ctlr_ready(struct tws_softc *sc);
sys/dev/tws/tws.c
56
extern void tws_turn_off_interrupts(struct tws_softc *sc);
sys/dev/tws/tws.c
57
extern void tws_q_insert_tail(struct tws_softc *sc, struct tws_request *req,
sys/dev/tws/tws.c
59
extern struct tws_request *tws_q_remove_request(struct tws_softc *sc,
sys/dev/tws/tws.c
61
extern struct tws_request *tws_q_remove_head(struct tws_softc *sc,
sys/dev/tws/tws.c
63
extern boolean tws_get_response(struct tws_softc *sc, u_int16_t *req_id);
sys/dev/tws/tws.c
638
tws_init_aen_q(struct tws_softc *sc)
sys/dev/tws/tws.c
64
extern boolean tws_ctlr_reset(struct tws_softc *sc);
sys/dev/tws/tws.c
650
tws_init_trace_q(struct tws_softc *sc)
sys/dev/tws/tws.c
662
tws_init_reqs(struct tws_softc *sc, u_int32_t dma_mem_size)
sys/dev/tws/tws.c
68
struct tws_request *tws_get_request(struct tws_softc *sc, u_int16_t type);
sys/dev/tws/tws.c
69
int tws_init_connect(struct tws_softc *sc, u_int16_t mc);
sys/dev/tws/tws.c
70
void tws_send_event(struct tws_softc *sc, u_int8_t event);
sys/dev/tws/tws.c
71
uint8_t tws_get_state(struct tws_softc *sc);
sys/dev/tws/tws.c
712
tws_send_event(struct tws_softc *sc, u_int8_t event)
sys/dev/tws/tws.c
765
tws_get_state(struct tws_softc *sc)
sys/dev/tws/tws.c
778
struct tws_softc *sc = device_get_softc(dev);
sys/dev/tws/tws.c
794
struct tws_softc *sc = device_get_softc(dev);
sys/dev/tws/tws.c
808
struct tws_softc *sc = device_get_softc(dev);
sys/dev/tws/tws.c
81
static int tws_init(struct tws_softc *sc);
sys/dev/tws/tws.c
816
tws_get_request(struct tws_softc *sc, u_int16_t type)
sys/dev/tws/tws.c
85
static int tws_init_reqs(struct tws_softc *sc, u_int32_t dma_mem_size);
sys/dev/tws/tws.c
855
struct tws_softc *sc = req->sc;
sys/dev/tws/tws.c
86
static int tws_init_aen_q(struct tws_softc *sc);
sys/dev/tws/tws.c
87
static int tws_init_trace_q(struct tws_softc *sc);
sys/dev/tws/tws.c
878
sizeof(struct tws_softc)
sys/dev/tws/tws.c
88
static int tws_setup_irq(struct tws_softc *sc);
sys/dev/tws/tws.c
89
int tws_setup_intr(struct tws_softc *sc, int irqs);
sys/dev/tws/tws.c
90
int tws_teardown_intr(struct tws_softc *sc);
sys/dev/tws/tws_cam.c
102
extern void tws_disable_db_intr(struct tws_softc *sc);
sys/dev/tws/tws_cam.c
103
extern void tws_enable_db_intr(struct tws_softc *sc);
sys/dev/tws/tws_cam.c
1030
struct tws_softc *sc = (struct tws_softc *)arg;
sys/dev/tws/tws_cam.c
105
extern void tws_aen_synctime_with_host(struct tws_softc *sc);
sys/dev/tws/tws_cam.c
106
extern void tws_circular_aenq_insert(struct tws_softc *sc,
sys/dev/tws/tws_cam.c
1066
tws_intr_attn_aen(struct tws_softc *sc)
sys/dev/tws/tws_cam.c
1078
tws_intr_attn_error(struct tws_softc *sc)
sys/dev/tws/tws_cam.c
1089
tws_intr_resp(struct tws_softc *sc)
sys/dev/tws/tws_cam.c
109
extern boolean tws_ctlr_reset(struct tws_softc *sc);
sys/dev/tws/tws_cam.c
110
extern struct tws_request * tws_q_remove_tail(struct tws_softc *sc,
sys/dev/tws/tws_cam.c
1110
struct tws_softc *sc = (struct tws_softc *)cam_sim_softc(sim);
sys/dev/tws/tws_cam.c
1119
struct tws_softc *sc = req->sc;
sys/dev/tws/tws_cam.c
112
extern void tws_turn_off_interrupts(struct tws_softc *sc);
sys/dev/tws/tws_cam.c
113
extern void tws_turn_on_interrupts(struct tws_softc *sc);
sys/dev/tws/tws_cam.c
114
extern int tws_init_connect(struct tws_softc *sc, u_int16_t mc);
sys/dev/tws/tws_cam.c
115
extern void tws_init_obfl_q(struct tws_softc *sc);
sys/dev/tws/tws_cam.c
116
extern uint8_t tws_get_state(struct tws_softc *sc);
sys/dev/tws/tws_cam.c
1163
struct tws_softc *sc = (struct tws_softc *)arg;
sys/dev/tws/tws_cam.c
117
extern void tws_assert_soft_reset(struct tws_softc *sc);
sys/dev/tws/tws_cam.c
118
extern boolean tws_ctlr_ready(struct tws_softc *sc);
sys/dev/tws/tws_cam.c
119
extern u_int16_t tws_poll4_response(struct tws_softc *sc, u_int64_t *mfa);
sys/dev/tws/tws_cam.c
1192
struct tws_softc *sc = (struct tws_softc *)arg;
sys/dev/tws/tws_cam.c
120
extern int tws_setup_intr(struct tws_softc *sc, int irqs);
sys/dev/tws/tws_cam.c
121
extern int tws_teardown_intr(struct tws_softc *sc);
sys/dev/tws/tws_cam.c
1224
struct tws_softc *sc = (struct tws_softc *)arg;
sys/dev/tws/tws_cam.c
124
tws_cam_attach(struct tws_softc *sc)
sys/dev/tws/tws_cam.c
1264
tws_freeze_simq(struct tws_softc *sc, struct tws_request *req)
sys/dev/tws/tws_cam.c
189
tws_cam_detach(struct tws_softc *sc)
sys/dev/tws/tws_cam.c
203
tws_bus_scan(struct tws_softc *sc)
sys/dev/tws/tws_cam.c
226
struct tws_softc *sc = (struct tws_softc *)cam_sim_softc(sim);
sys/dev/tws/tws_cam.c
320
struct tws_softc *sc = req->sc;
sys/dev/tws/tws_cam.c
342
struct tws_softc *sc = req->sc;
sys/dev/tws/tws_cam.c
357
struct tws_softc *sc = req->sc;
sys/dev/tws/tws_cam.c
435
struct tws_softc *sc = req->sc;
sys/dev/tws/tws_cam.c
442
tws_err_complete(struct tws_softc *sc, u_int64_t mfa)
sys/dev/tws/tws_cam.c
501
struct tws_softc *sc = req->sc;
sys/dev/tws/tws_cam.c
51
void tws_unmap_request(struct tws_softc *sc, struct tws_request *req);
sys/dev/tws/tws_cam.c
52
int32_t tws_map_request(struct tws_softc *sc, struct tws_request *req);
sys/dev/tws/tws_cam.c
53
int tws_bus_scan(struct tws_softc *sc);
sys/dev/tws/tws_cam.c
54
int tws_cam_attach(struct tws_softc *sc);
sys/dev/tws/tws_cam.c
55
void tws_cam_detach(struct tws_softc *sc);
sys/dev/tws/tws_cam.c
562
tws_drain_busy_queue(struct tws_softc *sc)
sys/dev/tws/tws_cam.c
596
tws_drain_reserved_reqs(struct tws_softc *sc)
sys/dev/tws/tws_cam.c
60
static int32_t tws_execute_scsi(struct tws_softc *sc, union ccb *ccb);
sys/dev/tws/tws_cam.c
61
static void tws_freeze_simq(struct tws_softc *sc, struct tws_request *req);
sys/dev/tws/tws_cam.c
628
tws_drain_response_queue(struct tws_softc *sc)
sys/dev/tws/tws_cam.c
636
tws_execute_scsi(struct tws_softc *sc, union ccb *ccb)
sys/dev/tws/tws_cam.c
64
static void tws_fill_sg_list(struct tws_softc *sc, void *sgl_src,
sys/dev/tws/tws_cam.c
66
static void tws_err_complete(struct tws_softc *sc, u_int64_t mfa);
sys/dev/tws/tws_cam.c
73
static void tws_intr_attn_aen(struct tws_softc *sc);
sys/dev/tws/tws_cam.c
734
tws_send_scsi_cmd(struct tws_softc *sc, int cmd)
sys/dev/tws/tws_cam.c
74
static void tws_intr_attn_error(struct tws_softc *sc);
sys/dev/tws/tws_cam.c
75
static void tws_intr_resp(struct tws_softc *sc);
sys/dev/tws/tws_cam.c
772
tws_set_param(struct tws_softc *sc, u_int32_t table_id, u_int32_t param_id,
sys/dev/tws/tws_cam.c
79
int tws_send_scsi_cmd(struct tws_softc *sc, int cmd);
sys/dev/tws/tws_cam.c
81
int tws_set_param(struct tws_softc *sc, u_int32_t table_id, u_int32_t param_id,
sys/dev/tws/tws_cam.c
819
tws_get_param(struct tws_softc *sc, u_int32_t table_id, u_int32_t param_id,
sys/dev/tws/tws_cam.c
83
int tws_get_param(struct tws_softc *sc, u_int32_t table_id, u_int32_t param_id,
sys/dev/tws/tws_cam.c
86
extern struct tws_request *tws_get_request(struct tws_softc *sc,
sys/dev/tws/tws_cam.c
879
tws_unmap_request(struct tws_softc *sc, struct tws_request *req)
sys/dev/tws/tws_cam.c
89
extern int tws_submit_command(struct tws_softc *sc, struct tws_request *req);
sys/dev/tws/tws_cam.c
895
tws_map_request(struct tws_softc *sc, struct tws_request *req)
sys/dev/tws/tws_cam.c
90
extern boolean tws_get_response(struct tws_softc *sc,
sys/dev/tws/tws_cam.c
92
extern void tws_q_insert_tail(struct tws_softc *sc, struct tws_request *req,
sys/dev/tws/tws_cam.c
935
struct tws_softc *sc = req->sc;
sys/dev/tws/tws_cam.c
94
extern struct tws_request * tws_q_remove_request(struct tws_softc *sc,
sys/dev/tws/tws_cam.c
96
extern void tws_send_event(struct tws_softc *sc, u_int8_t event);
sys/dev/tws/tws_cam.c
980
tws_fill_sg_list(struct tws_softc *sc, void *sgl_src, void *sgl_dest,
sys/dev/tws/tws_cam.c
99
tws_find_sense_from_mfa(struct tws_softc *sc, u_int64_t mfa);
sys/dev/tws/tws_hdm.c
112
tws_init_obfl_q(struct tws_softc *sc)
sys/dev/tws/tws_hdm.c
141
tws_init_connect(struct tws_softc *sc, u_int16_t mcreadits )
sys/dev/tws/tws_hdm.c
216
tws_display_ctlr_info(struct tws_softc *sc)
sys/dev/tws/tws_hdm.c
240
tws_send_generic_cmd(struct tws_softc *sc, u_int8_t opcode)
sys/dev/tws/tws_hdm.c
273
tws_submit_command(struct tws_softc *sc, struct tws_request *req)
sys/dev/tws/tws_hdm.c
355
tws_get_response(struct tws_softc *sc, u_int16_t *req_id, u_int64_t *mfa)
sys/dev/tws/tws_hdm.c
383
tws_poll4_response(struct tws_softc *sc, u_int64_t *mfa)
sys/dev/tws/tws_hdm.c
403
tws_ctlr_ready(struct tws_softc *sc)
sys/dev/tws/tws_hdm.c
415
tws_turn_on_interrupts(struct tws_softc *sc)
sys/dev/tws/tws_hdm.c
425
tws_turn_off_interrupts(struct tws_softc *sc)
sys/dev/tws/tws_hdm.c
43
extern struct tws_request *tws_get_request(struct tws_softc *sc,
sys/dev/tws/tws_hdm.c
435
tws_disable_db_intr(struct tws_softc *sc)
sys/dev/tws/tws_hdm.c
446
tws_enable_db_intr(struct tws_softc *sc)
sys/dev/tws/tws_hdm.c
45
extern void tws_q_insert_tail(struct tws_softc *sc, struct tws_request *req,
sys/dev/tws/tws_hdm.c
457
tws_ctlr_reset(struct tws_softc *sc)
sys/dev/tws/tws_hdm.c
47
extern struct tws_request * tws_q_remove_request(struct tws_softc *sc,
sys/dev/tws/tws_hdm.c
482
tws_assert_soft_reset(struct tws_softc *sc)
sys/dev/tws/tws_hdm.c
495
struct tws_softc *sc = (struct tws_softc *)arg;
sys/dev/tws/tws_hdm.c
506
tws_aen_synctime_with_host(struct tws_softc *sc)
sys/dev/tws/tws_hdm.c
52
extern int tws_send_scsi_cmd(struct tws_softc *sc, int cmd);
sys/dev/tws/tws_hdm.c
53
extern int tws_set_param(struct tws_softc *sc, u_int32_t table_id,
sys/dev/tws/tws_hdm.c
55
extern int tws_get_param(struct tws_softc *sc, u_int32_t table_id,
sys/dev/tws/tws_hdm.c
59
int tws_init_connect(struct tws_softc *sc, u_int16_t mc);
sys/dev/tws/tws_hdm.c
60
int tws_init_ctlr(struct tws_softc *sc);
sys/dev/tws/tws_hdm.c
61
int tws_submit_command(struct tws_softc *sc, struct tws_request *req);
sys/dev/tws/tws_hdm.c
63
u_int16_t tws_poll4_response(struct tws_softc *sc, u_int64_t *mfa);
sys/dev/tws/tws_hdm.c
64
boolean tws_get_response(struct tws_softc *sc, u_int16_t *req_id,
sys/dev/tws/tws_hdm.c
66
boolean tws_ctlr_ready(struct tws_softc *sc);
sys/dev/tws/tws_hdm.c
67
void tws_turn_on_interrupts(struct tws_softc *sc);
sys/dev/tws/tws_hdm.c
68
void tws_turn_off_interrupts(struct tws_softc *sc);
sys/dev/tws/tws_hdm.c
69
boolean tws_ctlr_reset(struct tws_softc *sc);
sys/dev/tws/tws_hdm.c
70
void tws_assert_soft_reset(struct tws_softc *sc);
sys/dev/tws/tws_hdm.c
72
int tws_send_generic_cmd(struct tws_softc *sc, u_int8_t opcode);
sys/dev/tws/tws_hdm.c
74
void tws_disable_db_intr(struct tws_softc *sc);
sys/dev/tws/tws_hdm.c
75
void tws_enable_db_intr(struct tws_softc *sc);
sys/dev/tws/tws_hdm.c
76
void tws_aen_synctime_with_host(struct tws_softc *sc);
sys/dev/tws/tws_hdm.c
77
void tws_init_obfl_q(struct tws_softc *sc);
sys/dev/tws/tws_hdm.c
78
void tws_display_ctlr_info(struct tws_softc *sc);
sys/dev/tws/tws_hdm.c
81
tws_init_ctlr(struct tws_softc *sc)
sys/dev/tws/tws_hdm.h
395
struct tws_softc *sc; /* pointer back to ctlr softc */
sys/dev/tws/tws_services.c
129
tws_log(struct tws_softc *sc, int index)
sys/dev/tws/tws_services.c
163
tws_write_reg(struct tws_softc *sc, int offset,
sys/dev/tws/tws_services.c
180
tws_read_reg(struct tws_softc *sc, int offset, int size)
sys/dev/tws/tws_services.c
199
tws_init_qs(struct tws_softc *sc)
sys/dev/tws/tws_services.c
213
tws_insert2_empty_q(struct tws_softc *sc, struct tws_request *req,
sys/dev/tws/tws_services.c
225
tws_q_insert_head(struct tws_softc *sc, struct tws_request *req,
sys/dev/tws/tws_services.c
243
tws_q_insert_tail(struct tws_softc *sc, struct tws_request *req,
sys/dev/tws/tws_services.c
261
tws_q_remove_head(struct tws_softc *sc, u_int8_t q_type )
sys/dev/tws/tws_services.c
284
tws_q_remove_tail(struct tws_softc *sc, u_int8_t q_type )
sys/dev/tws/tws_services.c
308
tws_q_remove_request(struct tws_softc *sc, struct tws_request *req,
sys/dev/tws/tws_services.c
357
tws_find_sense_from_mfa(struct tws_softc *sc, u_int64_t mfa)
sys/dev/tws/tws_services.c
382
struct tws_softc *sc = (struct tws_softc *)arg;
sys/dev/tws/tws_services.c
42
void tws_q_insert_tail(struct tws_softc *sc, struct tws_request *req,
sys/dev/tws/tws_services.c
44
struct tws_request * tws_q_remove_request(struct tws_softc *sc,
sys/dev/tws/tws_services.c
46
struct tws_request *tws_q_remove_head(struct tws_softc *sc, u_int8_t q_type );
sys/dev/tws/tws_services.c
47
void tws_q_insert_head(struct tws_softc *sc, struct tws_request *req,
sys/dev/tws/tws_services.c
49
struct tws_request * tws_q_remove_tail(struct tws_softc *sc, u_int8_t q_type );
sys/dev/tws/tws_services.c
52
struct tws_sense *tws_find_sense_from_mfa(struct tws_softc *sc, u_int64_t mfa);
sys/dev/tws/tws_services.c
85
struct tws_softc *sc, char *desc, u_int64_t val1, u_int64_t val2)
sys/dev/tws/tws_services.h
40
struct tws_softc *sc, char *desc, u_int64_t val1, u_int64_t val2);
sys/dev/tws/tws_services.h
41
void tws_log(struct tws_softc *sc, int index);
sys/dev/tws/tws_services.h
42
u_int32_t tws_read_reg(struct tws_softc *sc,
sys/dev/tws/tws_services.h
44
void tws_write_reg(struct tws_softc *sc, int offset,
sys/dev/tws/tws_services.h
51
void tws_init_qs(struct tws_softc *sc);
sys/dev/tws/tws_user.c
220
tws_retrive_aen(struct tws_softc *sc, u_long cmd,
sys/dev/tws/tws_user.c
295
tws_ioctl_aen(struct tws_softc *sc, u_long cmd, void *buf)
sys/dev/tws/tws_user.c
370
tws_circular_aenq_insert(struct tws_softc *sc, struct tws_circular_q *cq,
sys/dev/tws/tws_user.c
45
extern void tws_circular_aenq_insert(struct tws_softc *sc,
sys/dev/tws/tws_user.c
48
static int tws_passthru(struct tws_softc *sc, void *buf);
sys/dev/tws/tws_user.c
49
static int tws_ioctl_aen(struct tws_softc *sc, u_long cmd, void *buf);
sys/dev/tws/tws_user.c
51
extern int tws_bus_scan(struct tws_softc *sc);
sys/dev/tws/tws_user.c
52
extern struct tws_request *tws_get_request(struct tws_softc *sc,
sys/dev/tws/tws_user.c
54
extern int32_t tws_map_request(struct tws_softc *sc, struct tws_request *req);
sys/dev/tws/tws_user.c
55
extern void tws_unmap_request(struct tws_softc *sc, struct tws_request *req);
sys/dev/tws/tws_user.c
56
extern uint8_t tws_get_state(struct tws_softc *sc);
sys/dev/tws/tws_user.c
63
struct tws_softc *sc = (struct tws_softc *)(dev->si_drv1);
sys/dev/tws/tws_user.c
85
tws_passthru(struct tws_softc *sc, void *buf)