Home
last modified time | relevance | path

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

/freebsd-14.2/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,
47 void tws_q_insert_head(struct tws_softc *sc, struct tws_request *req,
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 *
264 struct tws_request *r; in tws_q_remove_head()
283 struct tws_request *
287 struct tws_request *r; in tws_q_remove_tail()
307 struct tws_request *
[all …]
H A Dtws_cam.c355 tws_aen_complete(struct tws_request *req) in tws_aen_complete()
433 tws_cmd_complete(struct tws_request *req) in tws_cmd_complete()
446 struct tws_request *req; in tws_err_complete()
564 struct tws_request *req; in tws_drain_busy_queue()
598 struct tws_request *r; in tws_drain_reserved_reqs()
639 struct tws_request *req; in tws_execute_scsi()
736 struct tws_request *req; in tws_send_scsi_cmd()
775 struct tws_request *req; in tws_set_param()
822 struct tws_request *req; in tws_get_param()
934 struct tws_request *req = (struct tws_request *)arg; in tws_dmamap_data_load_cbfn()
[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()