Searched refs:tws_request (Results 1 – 7 of 7) sorted by relevance
| /freebsd-12.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, 234 tws_q_insert_head(struct tws_softc *sc, struct tws_request *req, in tws_q_insert_head() 252 tws_q_insert_tail(struct tws_softc *sc, struct tws_request *req, in tws_q_insert_tail() 269 struct tws_request * 273 struct tws_request *r; in tws_q_remove_head() 292 struct tws_request * 296 struct tws_request *r; in tws_q_remove_tail() 316 struct tws_request * [all …]
|
| H A D | tws_cam.c | 376 tws_aen_complete(struct tws_request *req) in tws_aen_complete() 455 tws_cmd_complete(struct tws_request *req) in tws_cmd_complete() 468 struct tws_request *req; in tws_err_complete() 587 struct tws_request *req; in tws_drain_busy_queue() 622 struct tws_request *r; in tws_drain_reserved_reqs() 664 struct tws_request *req; in tws_execute_scsi() 762 struct tws_request *req; in tws_send_scsi_cmd() 801 struct tws_request *req; in tws_set_param() 848 struct tws_request *req; in tws_get_param() 963 struct tws_request *req = (struct tws_request *)arg; in tws_dmamap_data_load_cbfn() [all …]
|
| H A D | tws_hdm.c | 47 extern struct tws_request *tws_get_request(struct tws_softc *sc, 49 extern void tws_q_insert_tail(struct tws_softc *sc, struct tws_request *req, 51 extern struct tws_request * tws_q_remove_request(struct tws_softc *sc, 52 struct tws_request *req, u_int8_t q_type ); 54 extern void tws_cmd_complete(struct tws_request *req); 65 int tws_submit_command(struct tws_softc *sc, struct tws_request *req); 148 struct tws_request *req; in tws_init_connect() 247 struct tws_request *req; in tws_send_generic_cmd() 279 tws_submit_command(struct tws_softc *sc, struct tws_request *req) in tws_submit_command()
|
| H A D | tws_user.c | 47 void tws_passthru_complete(struct tws_request *req); 56 extern struct tws_request *tws_get_request(struct tws_softc *sc, 58 extern int32_t tws_map_request(struct tws_softc *sc, struct tws_request *req); 59 extern void tws_unmap_request(struct tws_softc *sc, struct tws_request *req); 92 struct tws_request *req; in tws_passthru() 217 tws_passthru_complete(struct tws_request *req) in tws_passthru_complete()
|
| H A D | tws_hdm.h | 399 struct tws_request { struct 412 void (*cb)(struct tws_request *); /* callback func */ argument 418 struct tws_request *next; /* pointer to next request */ argument 419 struct tws_request *prev; /* pointer to prev request */ argument
|
| H A D | tws.h | 267 struct tws_request *reqs; /* pointer to requests */ 271 struct tws_request *q_head[TWS_MAX_QS]; /* head pointers to q's */ 272 struct tws_request *q_tail[TWS_MAX_QS]; /* tail pointers to q's */
|
| H A D | tws.c | 60 extern void tws_q_insert_tail(struct tws_softc *sc, struct tws_request *req, 62 extern struct tws_request *tws_q_remove_request(struct tws_softc *sc, 63 struct tws_request *req, u_int8_t q_type ); 64 extern struct tws_request *tws_q_remove_head(struct tws_softc *sc, 72 struct tws_request *tws_get_request(struct tws_softc *sc, u_int16_t type); 76 void tws_release_request(struct tws_request *req); 609 sc->reqs = malloc(sizeof(struct tws_request) * tws_queue_depth, M_TWS, in tws_init() 833 struct tws_request * 837 struct tws_request *r = NULL; in tws_get_request() 870 tws_release_request(struct tws_request *req) in tws_release_request()
|