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

/freebsd-11.0-release/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 );
220 tws_insert2_empty_q(struct tws_softc *sc, struct tws_request *req,
232 tws_q_insert_head(struct tws_softc *sc, struct tws_request *req,
250 tws_q_insert_tail(struct tws_softc *sc, struct tws_request *req,
267 struct tws_request *
[all...]
H A Dtws_cam.c49 static void tws_scsi_complete(struct tws_request *req);
53 void tws_unmap_request(struct tws_softc *sc, struct tws_request *req);
54 int32_t tws_map_request(struct tws_softc *sc, struct tws_request *req);
63 static void tws_freeze_simq(struct tws_softc *sc, struct tws_request *req);
69 static void tws_scsi_err_complete(struct tws_request *req,
71 static void tws_passthru_err_complete(struct tws_request *req,
80 void tws_cmd_complete(struct tws_request *req);
81 void tws_aen_complete(struct tws_request *req);
83 void tws_getset_param_complete(struct tws_request *req);
90 extern struct tws_request *tws_get_reques
[all...]
H A Dtws_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,
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);
146 struct tws_request *req;
245 struct tws_request *req;
277 tws_submit_command(struct tws_softc *sc, struct tws_request *req)
H A Dtws.h265 struct tws_request *reqs; /* pointer to requests */
269 struct tws_request *q_head[TWS_MAX_QS]; /* head pointers to q's */
270 struct tws_request *q_tail[TWS_MAX_QS]; /* tail pointers to q's */
H A Dtws_hdm.h397 struct tws_request { struct
410 void (*cb)(struct tws_request *); /* callback func */
416 struct tws_request *next; /* pointer to next request */
417 struct tws_request *prev; /* pointer to prev request */
H A Dtws_user.c45 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);
90 struct tws_request *req;
211 tws_passthru_complete(struct tws_request *req)
H A Dtws.c58 extern void tws_q_insert_tail(struct tws_softc *sc, struct tws_request *req,
60 extern struct tws_request *tws_q_remove_request(struct tws_softc *sc,
61 struct tws_request *req, u_int8_t q_type );
62 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);
607 sc->reqs = malloc(sizeof(struct tws_request) * tws_queue_depth, M_TWS,
847 struct tws_request *
851 struct tws_request *r = NULL;
884 tws_release_request(struct tws_request *re
[all...]

Completed in 68 milliseconds