Home
last modified time | relevance | path

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

/dragonfly/sys/dev/raid/tws/
HDtws_hdm.c45 extern struct tws_request *tws_get_request(struct tws_softc *sc,
47 extern void tws_q_insert_tail(struct tws_softc *sc, struct tws_request *req,
49 extern struct tws_request * tws_q_remove_request(struct tws_softc *sc,
54 extern int tws_send_scsi_cmd(struct tws_softc *sc, int cmd);
55 extern int tws_set_param(struct tws_softc *sc, u_int32_t table_id,
57 extern int tws_get_param(struct tws_softc *sc, u_int32_t table_id,
61 int tws_init_connect(struct tws_softc *sc, u_int16_t mc);
62 int tws_init_ctlr(struct tws_softc *sc);
63 int tws_submit_command(struct tws_softc *sc, struct tws_request *req);
65 u_int16_t tws_poll4_response(struct tws_softc *sc, u_int64_t *mfa);
[all …]
HDtws_cam.c61 void tws_unmap_request(struct tws_softc *sc, struct tws_request *req);
62 int32_t tws_map_request(struct tws_softc *sc, struct tws_request *req);
63 int tws_bus_scan(struct tws_softc *sc);
64 int tws_cam_attach(struct tws_softc *sc);
65 void tws_cam_detach(struct tws_softc *sc);
70 static int32_t tws_execute_scsi(struct tws_softc *sc, union ccb *ccb);
71 static void tws_freeze_simq(struct tws_softc *sc);
72 static void tws_release_simq(struct tws_softc *sc);
75 static void tws_fill_sg_list(struct tws_softc *sc, void *sgl_src,
77 static void tws_err_complete(struct tws_softc *sc, u_int64_t mfa);
[all …]
HDtws.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 …]
HDtws_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);
87 struct tws_softc *sc, char *desc, u_int64_t val1, u_int64_t val2) in tws_trace()
132 tws_log(struct tws_softc *sc, int index) in tws_log()
170 tws_write_reg(struct tws_softc *sc, int offset, in tws_write_reg()
187 tws_read_reg(struct tws_softc *sc, int offset, int size) in tws_read_reg()
[all …]
HDtws_user.c46 extern void tws_circular_aenq_insert(struct tws_softc *sc,
50 static int tws_passthru(struct tws_softc *sc, void *buf);
51 static int tws_ioctl_aen(struct tws_softc *sc, u_long cmd, void *buf);
53 extern int tws_bus_scan(struct tws_softc *sc);
54 extern struct tws_request *tws_get_request(struct tws_softc *sc,
56 extern int32_t tws_map_request(struct tws_softc *sc, struct tws_request *req);
57 extern void tws_unmap_request(struct tws_softc *sc, struct tws_request *req);
58 extern uint8_t tws_get_state(struct tws_softc *sc);
67 struct tws_softc *sc = (struct tws_softc *)(dev->si_drv1); in tws_ioctl()
92 tws_passthru(struct tws_softc *sc, void *buf) in tws_passthru()
[all …]
HDtws_services.h41 struct tws_softc *sc, char *desc, u_int64_t val1, u_int64_t val2);
42 void tws_log(struct tws_softc *sc, int index);
43 u_int32_t tws_read_reg(struct tws_softc *sc,
45 void tws_write_reg(struct tws_softc *sc, int offset,
52 void tws_init_qs(struct tws_softc *sc);
HDtws.h214 struct tws_softc { struct
HDtws_hdm.h416 struct tws_softc *sc; /* pointer back to ctlr softc */