Searched refs:tws_request (Results 1 – 7 of 7) sorted by relevance
| /freebsd-13.1/sys/dev/tws/ |
| H A D | tws_services.c | 44 void tws_q_insert_tail(struct tws_softc *sc, struct tws_request *req, 46 struct tws_request * tws_q_remove_request(struct tws_softc *sc, 49 void tws_q_insert_head(struct tws_softc *sc, struct tws_request *req, 227 tws_q_insert_head(struct tws_softc *sc, struct tws_request *req, in tws_q_insert_head() 245 tws_q_insert_tail(struct tws_softc *sc, struct tws_request *req, in tws_q_insert_tail() 262 struct tws_request * 266 struct tws_request *r; in tws_q_remove_head() 285 struct tws_request * 289 struct tws_request *r; in tws_q_remove_tail() 309 struct tws_request * [all …]
|
| H A D | tws_cam.c | 357 tws_aen_complete(struct tws_request *req) in tws_aen_complete() 435 tws_cmd_complete(struct tws_request *req) in tws_cmd_complete() 448 struct tws_request *req; in tws_err_complete() 566 struct tws_request *req; in tws_drain_busy_queue() 600 struct tws_request *r; in tws_drain_reserved_reqs() 641 struct tws_request *req; in tws_execute_scsi() 738 struct tws_request *req; in tws_send_scsi_cmd() 777 struct tws_request *req; in tws_set_param() 824 struct tws_request *req; in tws_get_param() 936 struct tws_request *req = (struct tws_request *)arg; in tws_dmamap_data_load_cbfn() [all …]
|
| H A D | tws_hdm.c | 45 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, 50 struct tws_request *req, u_int8_t q_type ); 52 extern void tws_cmd_complete(struct tws_request *req); 63 int tws_submit_command(struct tws_softc *sc, struct tws_request *req); 145 struct tws_request *req; in tws_init_connect() 244 struct tws_request *req; in tws_send_generic_cmd() 275 tws_submit_command(struct tws_softc *sc, struct tws_request *req) in tws_submit_command()
|
| H A D | tws_user.c | 46 void tws_passthru_complete(struct tws_request *req); 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); 89 struct tws_request *req; in tws_passthru() 214 tws_passthru_complete(struct tws_request *req) in tws_passthru_complete()
|
| H A D | tws_hdm.h | 380 struct tws_request { struct 393 void (*cb)(struct tws_request *); /* callback func */ argument 399 struct tws_request *next; /* pointer to next request */ argument 400 struct tws_request *prev; /* pointer to prev request */ argument
|
| H A D | tws.h | 262 struct tws_request *reqs; /* pointer to requests */ 266 struct tws_request *q_head[TWS_MAX_QS]; /* head pointers to q's */ 267 struct tws_request *q_tail[TWS_MAX_QS]; /* tail pointers to q's */
|
| H A D | tws.c | 59 extern void tws_q_insert_tail(struct tws_softc *sc, struct tws_request *req, 61 extern struct tws_request *tws_q_remove_request(struct tws_softc *sc, 62 struct tws_request *req, u_int8_t q_type ); 63 extern struct tws_request *tws_q_remove_head(struct tws_softc *sc, 70 struct tws_request *tws_get_request(struct tws_softc *sc, u_int16_t type); 74 void tws_release_request(struct tws_request *req); 597 sc->reqs = malloc(sizeof(struct tws_request) * tws_queue_depth, M_TWS, in tws_init() 819 struct tws_request * 823 struct tws_request *r = NULL; in tws_get_request() 856 tws_release_request(struct tws_request *req) in tws_release_request()
|