Lines Matching refs:tws_softc

53 void tws_unmap_request(struct tws_softc *sc, struct tws_request *req);
54 int32_t tws_map_request(struct tws_softc *sc, struct tws_request *req);
55 int tws_bus_scan(struct tws_softc *sc);
56 int tws_cam_attach(struct tws_softc *sc);
57 void tws_cam_detach(struct tws_softc *sc);
62 static int32_t tws_execute_scsi(struct tws_softc *sc, union ccb *ccb);
63 static void tws_freeze_simq(struct tws_softc *sc, struct tws_request *req);
66 static void tws_fill_sg_list(struct tws_softc *sc, void *sgl_src,
68 static void tws_err_complete(struct tws_softc *sc, u_int64_t mfa);
76 static void tws_intr_attn_aen(struct tws_softc *sc);
77 static void tws_intr_attn_error(struct tws_softc *sc);
78 static void tws_intr_resp(struct tws_softc *sc);
82 int tws_send_scsi_cmd(struct tws_softc *sc, int cmd);
84 int tws_set_param(struct tws_softc *sc, u_int32_t table_id, u_int32_t param_id,
86 int tws_get_param(struct tws_softc *sc, u_int32_t table_id, u_int32_t param_id,
90 extern struct tws_request *tws_get_request(struct tws_softc *sc,
93 extern int tws_submit_command(struct tws_softc *sc, struct tws_request *req);
94 extern boolean tws_get_response(struct tws_softc *sc,
96 extern void tws_q_insert_tail(struct tws_softc *sc, struct tws_request *req,
98 extern struct tws_request * tws_q_remove_request(struct tws_softc *sc,
100 extern void tws_send_event(struct tws_softc *sc, u_int8_t event);
103 tws_find_sense_from_mfa(struct tws_softc *sc, u_int64_t mfa);
106 extern void tws_disable_db_intr(struct tws_softc *sc);
107 extern void tws_enable_db_intr(struct tws_softc *sc);
109 extern void tws_aen_synctime_with_host(struct tws_softc *sc);
110 extern void tws_circular_aenq_insert(struct tws_softc *sc,
113 extern boolean tws_ctlr_reset(struct tws_softc *sc);
114 extern struct tws_request * tws_q_remove_tail(struct tws_softc *sc,
116 extern void tws_turn_off_interrupts(struct tws_softc *sc);
117 extern void tws_turn_on_interrupts(struct tws_softc *sc);
118 extern int tws_init_connect(struct tws_softc *sc, u_int16_t mc);
119 extern void tws_init_obfl_q(struct tws_softc *sc);
120 extern uint8_t tws_get_state(struct tws_softc *sc);
121 extern void tws_assert_soft_reset(struct tws_softc *sc);
122 extern boolean tws_ctlr_ready(struct tws_softc *sc);
123 extern u_int16_t tws_poll4_response(struct tws_softc *sc, u_int64_t *mfa);
124 extern int tws_setup_intr(struct tws_softc *sc, int irqs);
125 extern int tws_teardown_intr(struct tws_softc *sc);
130 tws_cam_attach(struct tws_softc *sc)
199 tws_cam_detach(struct tws_softc *sc)
213 tws_bus_scan(struct tws_softc *sc)
236 struct tws_softc *sc = (struct tws_softc *)cam_sim_softc(sim);
338 struct tws_softc *sc = req->sc;
361 struct tws_softc *sc = req->sc;
376 struct tws_softc *sc = req->sc;
455 struct tws_softc *sc = req->sc;
462 tws_err_complete(struct tws_softc *sc, u_int64_t mfa)
521 struct tws_softc *sc = req->sc;
583 tws_drain_busy_queue(struct tws_softc *sc)
618 tws_drain_reserved_reqs(struct tws_softc *sc)
650 tws_drain_response_queue(struct tws_softc *sc)
659 tws_execute_scsi(struct tws_softc *sc, union ccb *ccb)
757 tws_send_scsi_cmd(struct tws_softc *sc, int cmd)
795 tws_set_param(struct tws_softc *sc, u_int32_t table_id, u_int32_t param_id,
842 tws_get_param(struct tws_softc *sc, u_int32_t table_id, u_int32_t param_id,
903 tws_unmap_request(struct tws_softc *sc, struct tws_request *req)
919 tws_map_request(struct tws_softc *sc, struct tws_request *req)
961 struct tws_softc *sc = req->sc;
1009 tws_fill_sg_list(struct tws_softc *sc, void *sgl_src, void *sgl_dest,
1061 struct tws_softc *sc = (struct tws_softc *)arg;
1097 tws_intr_attn_aen(struct tws_softc *sc)
1110 tws_intr_attn_error(struct tws_softc *sc)
1122 tws_intr_resp(struct tws_softc *sc)
1144 struct tws_softc *sc = (struct tws_softc *)cam_sim_softc(sim);
1153 struct tws_softc *sc = req->sc;
1200 struct tws_softc *sc = (struct tws_softc *)arg;
1231 struct tws_softc *sc = (struct tws_softc *)arg;
1263 struct tws_softc *sc = (struct tws_softc *)arg;
1305 tws_freeze_simq(struct tws_softc *sc, struct tws_request *req)