Home
last modified time | relevance | path

Searched refs:tws_softc (Results 1 – 8 of 8) sorted by relevance

/freebsd/sys/dev/tws/
H A Dtws_hdm.c43 extern struct tws_request *tws_get_request(struct tws_softc *sc,
45 extern void tws_q_insert_tail(struct tws_softc *sc, struct tws_request *req,
47 extern struct tws_request * tws_q_remove_request(struct tws_softc *sc,
52 extern int tws_send_scsi_cmd(struct tws_softc *sc, int cmd);
53 extern int tws_set_param(struct tws_softc *sc, u_int32_t table_id,
55 extern int tws_get_param(struct tws_softc *sc, u_int32_t table_id,
59 int tws_init_connect(struct tws_softc *sc, u_int16_t mc);
60 int tws_init_ctlr(struct tws_softc *sc);
61 int tws_submit_command(struct tws_softc *sc, struct tws_request *req);
63 u_int16_t tws_poll4_response(struct tws_softc *sc, u_int64_t *mfa);
[all …]
H A Dtws_cam.c51 void tws_unmap_request(struct tws_softc *sc, struct tws_request *req);
52 int32_t tws_map_request(struct tws_softc *sc, struct tws_request *req);
53 int tws_bus_scan(struct tws_softc *sc);
54 int tws_cam_attach(struct tws_softc *sc);
55 void tws_cam_detach(struct tws_softc *sc);
60 static int32_t tws_execute_scsi(struct tws_softc *sc, union ccb *ccb);
61 static void tws_freeze_simq(struct tws_softc *sc, struct tws_request *req);
64 static void tws_fill_sg_list(struct tws_softc *sc, void *sgl_src,
66 static void tws_err_complete(struct tws_softc *sc, u_int64_t mfa);
73 static void tws_intr_attn_aen(struct tws_softc *sc);
[all …]
H A Dtws.c52 extern int tws_cam_attach(struct tws_softc *sc);
53 extern void tws_cam_detach(struct tws_softc *sc);
54 extern int tws_init_ctlr(struct tws_softc *sc);
55 extern boolean tws_ctlr_ready(struct tws_softc *sc);
56 extern void tws_turn_off_interrupts(struct tws_softc *sc);
57 extern void tws_q_insert_tail(struct tws_softc *sc, struct tws_request *req,
59 extern struct tws_request *tws_q_remove_request(struct tws_softc *sc,
61 extern struct tws_request *tws_q_remove_head(struct tws_softc *sc,
63 extern boolean tws_get_response(struct tws_softc *sc, u_int16_t *req_id);
64 extern boolean tws_ctlr_reset(struct tws_softc *sc);
[all …]
H A Dtws_services.c42 void tws_q_insert_tail(struct tws_softc *sc, struct tws_request *req,
44 struct tws_request * tws_q_remove_request(struct tws_softc *sc,
46 struct tws_request *tws_q_remove_head(struct tws_softc *sc, u_int8_t q_type );
47 void tws_q_insert_head(struct tws_softc *sc, struct tws_request *req,
49 struct tws_request * tws_q_remove_tail(struct tws_softc *sc, u_int8_t q_type );
52 struct tws_sense *tws_find_sense_from_mfa(struct tws_softc *sc, u_int64_t mfa);
85 struct tws_softc *sc, char *desc, u_int64_t val1, u_int64_t val2) in tws_trace()
129 tws_log(struct tws_softc *sc, int index) in tws_log()
163 tws_write_reg(struct tws_softc *sc, int offset, in tws_write_reg()
180 tws_read_reg(struct tws_softc *sc, int offset, int size) in tws_read_reg()
[all …]
H A Dtws_user.c45 extern void tws_circular_aenq_insert(struct tws_softc *sc,
48 static int tws_passthru(struct tws_softc *sc, void *buf);
49 static int tws_ioctl_aen(struct tws_softc *sc, u_long cmd, void *buf);
51 extern int tws_bus_scan(struct tws_softc *sc);
52 extern struct tws_request *tws_get_request(struct tws_softc *sc,
54 extern int32_t tws_map_request(struct tws_softc *sc, struct tws_request *req);
55 extern void tws_unmap_request(struct tws_softc *sc, struct tws_request *req);
56 extern uint8_t tws_get_state(struct tws_softc *sc);
63 struct tws_softc *sc = (struct tws_softc *)(dev->si_drv1); in tws_ioctl()
85 tws_passthru(struct tws_softc *sc, void *buf) in tws_passthru()
[all …]
H A Dtws_services.h40 struct tws_softc *sc, char *desc, u_int64_t val1, u_int64_t val2);
41 void tws_log(struct tws_softc *sc, int index);
42 u_int32_t tws_read_reg(struct tws_softc *sc,
44 void tws_write_reg(struct tws_softc *sc, int offset,
51 void tws_init_qs(struct tws_softc *sc);
H A Dtws.h214 struct tws_softc { struct
H A Dtws_hdm.h395 struct tws_softc *sc; /* pointer back to ctlr softc */