Symbol: tws_softc
sys/dev/raid/tws/tws.c
115
struct tws_softc *sc = dev->si_drv1;
sys/dev/raid/tws/tws.c
126
struct tws_softc *sc = dev->si_drv1;
sys/dev/raid/tws/tws.c
137
struct tws_softc *sc = dev->si_drv1;
sys/dev/raid/tws/tws.c
148
struct tws_softc *sc = dev->si_drv1;
sys/dev/raid/tws/tws.c
185
struct tws_softc *sc = device_get_softc(dev);
sys/dev/raid/tws/tws.c
349
struct tws_softc *sc = device_get_softc(dev);
sys/dev/raid/tws/tws.c
413
tws_setup_irq(struct tws_softc *sc)
sys/dev/raid/tws/tws.c
446
tws_init(struct tws_softc *sc)
sys/dev/raid/tws/tws.c
52
extern int tws_cam_attach(struct tws_softc *sc);
sys/dev/raid/tws/tws.c
53
extern void tws_cam_detach(struct tws_softc *sc);
sys/dev/raid/tws/tws.c
54
extern int tws_init_ctlr(struct tws_softc *sc);
sys/dev/raid/tws/tws.c
55
extern boolean tws_ctlr_ready(struct tws_softc *sc);
sys/dev/raid/tws/tws.c
56
extern void tws_turn_off_interrupts(struct tws_softc *sc);
sys/dev/raid/tws/tws.c
57
extern void tws_q_insert_tail(struct tws_softc *sc, struct tws_request *req,
sys/dev/raid/tws/tws.c
574
tws_init_aen_q(struct tws_softc *sc)
sys/dev/raid/tws/tws.c
586
tws_init_trace_q(struct tws_softc *sc)
sys/dev/raid/tws/tws.c
59
extern struct tws_request *tws_q_remove_request(struct tws_softc *sc,
sys/dev/raid/tws/tws.c
598
tws_init_reqs(struct tws_softc *sc, u_int32_t dma_mem_size)
sys/dev/raid/tws/tws.c
61
extern struct tws_request *tws_q_remove_head(struct tws_softc *sc,
sys/dev/raid/tws/tws.c
63
extern boolean tws_get_response(struct tws_softc *sc, u_int16_t *req_id);
sys/dev/raid/tws/tws.c
64
extern boolean tws_ctlr_reset(struct tws_softc *sc);
sys/dev/raid/tws/tws.c
649
tws_send_event(struct tws_softc *sc, u_int8_t event)
sys/dev/raid/tws/tws.c
69
struct tws_request *tws_get_request(struct tws_softc *sc, u_int16_t type);
sys/dev/raid/tws/tws.c
693
tws_get_state(struct tws_softc *sc)
sys/dev/raid/tws/tws.c
70
int tws_init_connect(struct tws_softc *sc, u_int16_t mc);
sys/dev/raid/tws/tws.c
706
struct tws_softc *sc = device_get_softc(dev);
sys/dev/raid/tws/tws.c
71
void tws_send_event(struct tws_softc *sc, u_int8_t event);
sys/dev/raid/tws/tws.c
72
uint8_t tws_get_state(struct tws_softc *sc);
sys/dev/raid/tws/tws.c
722
struct tws_softc *sc = device_get_softc(dev);
sys/dev/raid/tws/tws.c
736
struct tws_softc *sc = device_get_softc(dev);
sys/dev/raid/tws/tws.c
745
tws_get_request(struct tws_softc *sc, u_int16_t type)
sys/dev/raid/tws/tws.c
822
struct tws_softc *sc = req->sc;
sys/dev/raid/tws/tws.c
84
static int tws_init(struct tws_softc *sc);
sys/dev/raid/tws/tws.c
847
sizeof(struct tws_softc)
sys/dev/raid/tws/tws.c
88
static int tws_init_reqs(struct tws_softc *sc, u_int32_t dma_mem_size);
sys/dev/raid/tws/tws.c
89
static int tws_init_aen_q(struct tws_softc *sc);
sys/dev/raid/tws/tws.c
90
static int tws_init_trace_q(struct tws_softc *sc);
sys/dev/raid/tws/tws.c
91
static int tws_setup_irq(struct tws_softc *sc);
sys/dev/raid/tws/tws_cam.c
1014
struct tws_softc *sc = req->sc;
sys/dev/raid/tws/tws_cam.c
102
extern int tws_submit_command(struct tws_softc *sc, struct tws_request *req);
sys/dev/raid/tws/tws_cam.c
103
extern boolean tws_get_response(struct tws_softc *sc,
sys/dev/raid/tws/tws_cam.c
105
extern void tws_q_insert_tail(struct tws_softc *sc, struct tws_request *req,
sys/dev/raid/tws/tws_cam.c
1054
tws_fill_sg_list(struct tws_softc *sc, void *sgl_src, void *sgl_dest,
sys/dev/raid/tws/tws_cam.c
107
extern struct tws_request * tws_q_remove_request(struct tws_softc *sc,
sys/dev/raid/tws/tws_cam.c
109
extern void tws_send_event(struct tws_softc *sc, u_int8_t event);
sys/dev/raid/tws/tws_cam.c
1106
struct tws_softc *sc = (struct tws_softc *)arg;
sys/dev/raid/tws/tws_cam.c
112
tws_find_sense_from_mfa(struct tws_softc *sc, u_int64_t mfa);
sys/dev/raid/tws/tws_cam.c
1131
tws_intr_attn_aen(struct tws_softc *sc)
sys/dev/raid/tws/tws_cam.c
1144
tws_intr_attn_error(struct tws_softc *sc)
sys/dev/raid/tws/tws_cam.c
115
extern void tws_disable_db_intr(struct tws_softc *sc);
sys/dev/raid/tws/tws_cam.c
1156
tws_intr_resp(struct tws_softc *sc)
sys/dev/raid/tws/tws_cam.c
116
extern void tws_enable_db_intr(struct tws_softc *sc);
sys/dev/raid/tws/tws_cam.c
1179
struct tws_softc *sc = (struct tws_softc *)cam_sim_softc(sim);
sys/dev/raid/tws/tws_cam.c
118
extern void tws_aen_synctime_with_host(struct tws_softc *sc);
sys/dev/raid/tws/tws_cam.c
1188
struct tws_softc *sc = req->sc;
sys/dev/raid/tws/tws_cam.c
119
extern void tws_circular_aenq_insert(struct tws_softc *sc,
sys/dev/raid/tws/tws_cam.c
1201
struct tws_softc *sc = (struct tws_softc *)arg;
sys/dev/raid/tws/tws_cam.c
122
extern boolean tws_ctlr_reset(struct tws_softc *sc);
sys/dev/raid/tws/tws_cam.c
1224
struct tws_softc *sc = (struct tws_softc *)arg;
sys/dev/raid/tws/tws_cam.c
123
extern struct tws_request * tws_q_remove_tail(struct tws_softc *sc,
sys/dev/raid/tws/tws_cam.c
1245
struct tws_softc *sc = (struct tws_softc *)arg;
sys/dev/raid/tws/tws_cam.c
125
extern void tws_turn_off_interrupts(struct tws_softc *sc);
sys/dev/raid/tws/tws_cam.c
126
extern void tws_turn_on_interrupts(struct tws_softc *sc);
sys/dev/raid/tws/tws_cam.c
127
extern int tws_init_connect(struct tws_softc *sc, u_int16_t mc);
sys/dev/raid/tws/tws_cam.c
128
extern void tws_init_obfl_q(struct tws_softc *sc);
sys/dev/raid/tws/tws_cam.c
1285
tws_freeze_simq(struct tws_softc *sc)
sys/dev/raid/tws/tws_cam.c
129
extern uint8_t tws_get_state(struct tws_softc *sc);
sys/dev/raid/tws/tws_cam.c
1294
tws_release_simq(struct tws_softc *sc)
sys/dev/raid/tws/tws_cam.c
130
extern void tws_assert_soft_reset(struct tws_softc *sc);
sys/dev/raid/tws/tws_cam.c
131
extern boolean tws_ctlr_ready(struct tws_softc *sc);
sys/dev/raid/tws/tws_cam.c
132
extern u_int16_t tws_poll4_response(struct tws_softc *sc, u_int64_t *mfa);
sys/dev/raid/tws/tws_cam.c
137
tws_cam_attach(struct tws_softc *sc)
sys/dev/raid/tws/tws_cam.c
205
tws_cam_detach(struct tws_softc *sc)
sys/dev/raid/tws/tws_cam.c
219
tws_bus_scan(struct tws_softc *sc)
sys/dev/raid/tws/tws_cam.c
247
struct tws_softc *sc = periph->softc;
sys/dev/raid/tws/tws_cam.c
266
struct tws_softc *sc = (struct tws_softc *)cam_sim_softc(sim);
sys/dev/raid/tws/tws_cam.c
359
struct tws_softc *sc = req->sc;
sys/dev/raid/tws/tws_cam.c
383
struct tws_softc *sc = req->sc;
sys/dev/raid/tws/tws_cam.c
401
struct tws_softc *sc = req->sc;
sys/dev/raid/tws/tws_cam.c
483
struct tws_softc *sc = req->sc;
sys/dev/raid/tws/tws_cam.c
491
tws_err_complete(struct tws_softc *sc, u_int64_t mfa)
sys/dev/raid/tws/tws_cam.c
553
struct tws_softc *sc = req->sc;
sys/dev/raid/tws/tws_cam.c
61
void tws_unmap_request(struct tws_softc *sc, struct tws_request *req);
sys/dev/raid/tws/tws_cam.c
617
tws_drain_busy_queue(struct tws_softc *sc)
sys/dev/raid/tws/tws_cam.c
62
int32_t tws_map_request(struct tws_softc *sc, struct tws_request *req);
sys/dev/raid/tws/tws_cam.c
63
int tws_bus_scan(struct tws_softc *sc);
sys/dev/raid/tws/tws_cam.c
64
int tws_cam_attach(struct tws_softc *sc);
sys/dev/raid/tws/tws_cam.c
646
tws_drain_reserved_reqs(struct tws_softc *sc)
sys/dev/raid/tws/tws_cam.c
65
void tws_cam_detach(struct tws_softc *sc);
sys/dev/raid/tws/tws_cam.c
676
tws_drain_response_queue(struct tws_softc *sc)
sys/dev/raid/tws/tws_cam.c
683
tws_execute_scsi(struct tws_softc *sc, union ccb *ccb)
sys/dev/raid/tws/tws_cam.c
70
static int32_t tws_execute_scsi(struct tws_softc *sc, union ccb *ccb);
sys/dev/raid/tws/tws_cam.c
71
static void tws_freeze_simq(struct tws_softc *sc);
sys/dev/raid/tws/tws_cam.c
72
static void tws_release_simq(struct tws_softc *sc);
sys/dev/raid/tws/tws_cam.c
75
static void tws_fill_sg_list(struct tws_softc *sc, void *sgl_src,
sys/dev/raid/tws/tws_cam.c
77
static void tws_err_complete(struct tws_softc *sc, u_int64_t mfa);
sys/dev/raid/tws/tws_cam.c
815
tws_send_scsi_cmd(struct tws_softc *sc, int cmd)
sys/dev/raid/tws/tws_cam.c
85
static void tws_intr_attn_aen(struct tws_softc *sc);
sys/dev/raid/tws/tws_cam.c
854
tws_set_param(struct tws_softc *sc, u_int32_t table_id, u_int32_t param_id,
sys/dev/raid/tws/tws_cam.c
86
static void tws_intr_attn_error(struct tws_softc *sc);
sys/dev/raid/tws/tws_cam.c
87
static void tws_intr_resp(struct tws_softc *sc);
sys/dev/raid/tws/tws_cam.c
900
tws_get_param(struct tws_softc *sc, u_int32_t table_id, u_int32_t param_id,
sys/dev/raid/tws/tws_cam.c
91
int tws_send_scsi_cmd(struct tws_softc *sc, int cmd);
sys/dev/raid/tws/tws_cam.c
93
int tws_set_param(struct tws_softc *sc, u_int32_t table_id, u_int32_t param_id,
sys/dev/raid/tws/tws_cam.c
95
int tws_get_param(struct tws_softc *sc, u_int32_t table_id, u_int32_t param_id,
sys/dev/raid/tws/tws_cam.c
961
tws_unmap_request(struct tws_softc *sc, struct tws_request *req)
sys/dev/raid/tws/tws_cam.c
978
tws_map_request(struct tws_softc *sc, struct tws_request *req)
sys/dev/raid/tws/tws_cam.c
99
extern struct tws_request *tws_get_request(struct tws_softc *sc,
sys/dev/raid/tws/tws_hdm.c
119
tws_init_obfl_q(struct tws_softc *sc)
sys/dev/raid/tws/tws_hdm.c
151
tws_init_connect(struct tws_softc *sc, u_int16_t mcreadits )
sys/dev/raid/tws/tws_hdm.c
212
tws_display_ctlr_info(struct tws_softc *sc)
sys/dev/raid/tws/tws_hdm.c
236
tws_send_generic_cmd(struct tws_softc *sc, u_int8_t opcode)
sys/dev/raid/tws/tws_hdm.c
270
tws_submit_command(struct tws_softc *sc, struct tws_request *req)
sys/dev/raid/tws/tws_hdm.c
355
tws_get_response(struct tws_softc *sc, u_int16_t *req_id, u_int64_t *mfa)
sys/dev/raid/tws/tws_hdm.c
387
tws_poll4_response(struct tws_softc *sc, u_int64_t *mfa)
sys/dev/raid/tws/tws_hdm.c
408
tws_ctlr_ready(struct tws_softc *sc)
sys/dev/raid/tws/tws_hdm.c
420
tws_turn_on_interrupts(struct tws_softc *sc)
sys/dev/raid/tws/tws_hdm.c
430
tws_turn_off_interrupts(struct tws_softc *sc)
sys/dev/raid/tws/tws_hdm.c
440
tws_disable_db_intr(struct tws_softc *sc)
sys/dev/raid/tws/tws_hdm.c
45
extern struct tws_request *tws_get_request(struct tws_softc *sc,
sys/dev/raid/tws/tws_hdm.c
451
tws_enable_db_intr(struct tws_softc *sc)
sys/dev/raid/tws/tws_hdm.c
462
tws_ctlr_reset(struct tws_softc *sc)
sys/dev/raid/tws/tws_hdm.c
47
extern void tws_q_insert_tail(struct tws_softc *sc, struct tws_request *req,
sys/dev/raid/tws/tws_hdm.c
487
tws_assert_soft_reset(struct tws_softc *sc)
sys/dev/raid/tws/tws_hdm.c
49
extern struct tws_request * tws_q_remove_request(struct tws_softc *sc,
sys/dev/raid/tws/tws_hdm.c
500
struct tws_softc *sc = (struct tws_softc *)arg;
sys/dev/raid/tws/tws_hdm.c
511
tws_aen_synctime_with_host(struct tws_softc *sc)
sys/dev/raid/tws/tws_hdm.c
54
extern int tws_send_scsi_cmd(struct tws_softc *sc, int cmd);
sys/dev/raid/tws/tws_hdm.c
55
extern int tws_set_param(struct tws_softc *sc, u_int32_t table_id,
sys/dev/raid/tws/tws_hdm.c
57
extern int tws_get_param(struct tws_softc *sc, u_int32_t table_id,
sys/dev/raid/tws/tws_hdm.c
61
int tws_init_connect(struct tws_softc *sc, u_int16_t mc);
sys/dev/raid/tws/tws_hdm.c
62
int tws_init_ctlr(struct tws_softc *sc);
sys/dev/raid/tws/tws_hdm.c
63
int tws_submit_command(struct tws_softc *sc, struct tws_request *req);
sys/dev/raid/tws/tws_hdm.c
65
u_int16_t tws_poll4_response(struct tws_softc *sc, u_int64_t *mfa);
sys/dev/raid/tws/tws_hdm.c
66
boolean tws_get_response(struct tws_softc *sc, u_int16_t *req_id,
sys/dev/raid/tws/tws_hdm.c
68
boolean tws_ctlr_ready(struct tws_softc *sc);
sys/dev/raid/tws/tws_hdm.c
69
void tws_turn_on_interrupts(struct tws_softc *sc);
sys/dev/raid/tws/tws_hdm.c
70
void tws_turn_off_interrupts(struct tws_softc *sc);
sys/dev/raid/tws/tws_hdm.c
71
boolean tws_ctlr_reset(struct tws_softc *sc);
sys/dev/raid/tws/tws_hdm.c
72
void tws_assert_soft_reset(struct tws_softc *sc);
sys/dev/raid/tws/tws_hdm.c
74
int tws_send_generic_cmd(struct tws_softc *sc, u_int8_t opcode);
sys/dev/raid/tws/tws_hdm.c
76
void tws_disable_db_intr(struct tws_softc *sc);
sys/dev/raid/tws/tws_hdm.c
77
void tws_enable_db_intr(struct tws_softc *sc);
sys/dev/raid/tws/tws_hdm.c
78
void tws_aen_synctime_with_host(struct tws_softc *sc);
sys/dev/raid/tws/tws_hdm.c
79
void tws_init_obfl_q(struct tws_softc *sc);
sys/dev/raid/tws/tws_hdm.c
80
void tws_display_ctlr_info(struct tws_softc *sc);
sys/dev/raid/tws/tws_hdm.c
83
tws_init_ctlr(struct tws_softc *sc)
sys/dev/raid/tws/tws_hdm.h
416
struct tws_softc *sc; /* pointer back to ctlr softc */
sys/dev/raid/tws/tws_services.c
132
tws_log(struct tws_softc *sc, int index)
sys/dev/raid/tws/tws_services.c
170
tws_write_reg(struct tws_softc *sc, int offset,
sys/dev/raid/tws/tws_services.c
187
tws_read_reg(struct tws_softc *sc, int offset, int size)
sys/dev/raid/tws/tws_services.c
206
tws_init_qs(struct tws_softc *sc)
sys/dev/raid/tws/tws_services.c
220
tws_insert2_empty_q(struct tws_softc *sc, struct tws_request *req,
sys/dev/raid/tws/tws_services.c
232
tws_q_insert_head(struct tws_softc *sc, struct tws_request *req,
sys/dev/raid/tws/tws_services.c
250
tws_q_insert_tail(struct tws_softc *sc, struct tws_request *req,
sys/dev/raid/tws/tws_services.c
268
tws_q_remove_head(struct tws_softc *sc, u_int8_t q_type )
sys/dev/raid/tws/tws_services.c
291
tws_q_remove_tail(struct tws_softc *sc, u_int8_t q_type )
sys/dev/raid/tws/tws_services.c
315
tws_q_remove_request(struct tws_softc *sc, struct tws_request *req,
sys/dev/raid/tws/tws_services.c
365
tws_find_sense_from_mfa(struct tws_softc *sc, u_int64_t mfa)
sys/dev/raid/tws/tws_services.c
391
struct tws_softc *sc = (struct tws_softc *)arg;
sys/dev/raid/tws/tws_services.c
42
void tws_q_insert_tail(struct tws_softc *sc, struct tws_request *req,
sys/dev/raid/tws/tws_services.c
44
struct tws_request * tws_q_remove_request(struct tws_softc *sc,
sys/dev/raid/tws/tws_services.c
46
struct tws_request *tws_q_remove_head(struct tws_softc *sc, u_int8_t q_type );
sys/dev/raid/tws/tws_services.c
47
void tws_q_insert_head(struct tws_softc *sc, struct tws_request *req,
sys/dev/raid/tws/tws_services.c
49
struct tws_request * tws_q_remove_tail(struct tws_softc *sc, u_int8_t q_type );
sys/dev/raid/tws/tws_services.c
52
struct tws_sense *tws_find_sense_from_mfa(struct tws_softc *sc, u_int64_t mfa);
sys/dev/raid/tws/tws_services.c
87
struct tws_softc *sc, char *desc, u_int64_t val1, u_int64_t val2)
sys/dev/raid/tws/tws_services.h
41
struct tws_softc *sc, char *desc, u_int64_t val1, u_int64_t val2);
sys/dev/raid/tws/tws_services.h
42
void tws_log(struct tws_softc *sc, int index);
sys/dev/raid/tws/tws_services.h
43
u_int32_t tws_read_reg(struct tws_softc *sc,
sys/dev/raid/tws/tws_services.h
45
void tws_write_reg(struct tws_softc *sc, int offset,
sys/dev/raid/tws/tws_services.h
52
void tws_init_qs(struct tws_softc *sc);
sys/dev/raid/tws/tws_user.c
179
struct tws_softc *sc = req->sc;
sys/dev/raid/tws/tws_user.c
188
tws_retrive_aen(struct tws_softc *sc, u_long cmd,
sys/dev/raid/tws/tws_user.c
263
tws_ioctl_aen(struct tws_softc *sc, u_long cmd, void *buf)
sys/dev/raid/tws/tws_user.c
340
tws_circular_aenq_insert(struct tws_softc *sc, struct tws_circular_q *cq,
sys/dev/raid/tws/tws_user.c
46
extern void tws_circular_aenq_insert(struct tws_softc *sc,
sys/dev/raid/tws/tws_user.c
50
static int tws_passthru(struct tws_softc *sc, void *buf);
sys/dev/raid/tws/tws_user.c
51
static int tws_ioctl_aen(struct tws_softc *sc, u_long cmd, void *buf);
sys/dev/raid/tws/tws_user.c
53
extern int tws_bus_scan(struct tws_softc *sc);
sys/dev/raid/tws/tws_user.c
54
extern struct tws_request *tws_get_request(struct tws_softc *sc,
sys/dev/raid/tws/tws_user.c
56
extern int32_t tws_map_request(struct tws_softc *sc, struct tws_request *req);
sys/dev/raid/tws/tws_user.c
57
extern void tws_unmap_request(struct tws_softc *sc, struct tws_request *req);
sys/dev/raid/tws/tws_user.c
58
extern uint8_t tws_get_state(struct tws_softc *sc);
sys/dev/raid/tws/tws_user.c
67
struct tws_softc *sc = (struct tws_softc *)(dev->si_drv1);
sys/dev/raid/tws/tws_user.c
92
tws_passthru(struct tws_softc *sc, void *buf)