Home
last modified time | relevance | path

Searched refs:tws_request (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/dev/tws/
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,
45 struct tws_request *req, u_int8_t q_type );
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 );
213 tws_insert2_empty_q(struct tws_softc *sc, struct tws_request *req, in tws_insert2_empty_q()
225 tws_q_insert_head(struct tws_softc *sc, struct tws_request *req, in tws_q_insert_head()
243 tws_q_insert_tail(struct tws_softc *sc, struct tws_request *req, in tws_q_insert_tail()
260 struct tws_request *
[all …]
H A Dtws_cam.c49 static void tws_scsi_complete(struct tws_request *req);
51 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);
61 static void tws_freeze_simq(struct tws_softc *sc, struct tws_request *req);
67 static void tws_scsi_err_complete(struct tws_request *req,
69 static void tws_passthru_err_complete(struct tws_request *req,
77 void tws_cmd_complete(struct tws_request *req);
78 void tws_aen_complete(struct tws_request *req);
80 void tws_getset_param_complete(struct tws_request *req);
86 extern struct tws_request *tws_get_request(struct tws_softc *sc,
[all …]
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,
48 struct tws_request *req, u_int8_t q_type );
50 extern void tws_cmd_complete(struct tws_request *req);
61 int tws_submit_command(struct tws_softc *sc, struct tws_request *req);
143 struct tws_request *req; in tws_init_connect()
242 struct tws_request *req; in tws_send_generic_cmd()
273 tws_submit_command(struct tws_softc *sc, struct tws_request *req) in tws_submit_command()
H A Dtws_user.c44 void tws_passthru_complete(struct tws_request *req);
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);
87 struct tws_request *req; in tws_passthru()
212 tws_passthru_complete(struct tws_request *req) in tws_passthru_complete()
H A Dtws_hdm.h378 struct tws_request { struct
391 void (*cb)(struct tws_request *); /* callback func */ argument
397 struct tws_request *next; /* pointer to next request */ argument
398 struct tws_request *prev; /* pointer to prev request */ argument
H A Dtws.h260 struct tws_request *reqs; /* pointer to requests */
264 struct tws_request *q_head[TWS_MAX_QS]; /* head pointers to q's */
265 struct tws_request *q_tail[TWS_MAX_QS]; /* tail pointers to q's */
H A Dtws.c57 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,
60 struct tws_request *req, u_int8_t q_type );
61 extern struct tws_request *tws_q_remove_head(struct tws_softc *sc,
68 struct tws_request *tws_get_request(struct tws_softc *sc, u_int16_t type);
72 void tws_release_request(struct tws_request *req);
594 sc->reqs = malloc(sizeof(struct tws_request) * tws_queue_depth, M_TWS, in tws_init()
816 struct tws_request *
820 struct tws_request *r = NULL; in tws_get_request()
853 tws_release_request(struct tws_request *req) in tws_release_request()