Home
last modified time | relevance | path

Searched refs:twe_request (Results 1 – 3 of 3) sorted by relevance

/NextBSD/sys/dev/twe/
HDtwevar.h75 struct twe_request struct
83 TAILQ_ENTRY(twe_request) tr_link; /* list linkage */ argument
98 void (* tr_complete)(struct twe_request *tr); /* completion handler */ argument
116 TAILQ_HEAD(, twe_request) twe_free; /* command structures available for reuse */ argument
118 TAILQ_HEAD(, twe_request) twe_ready; /* requests ready for the controller */
119 TAILQ_HEAD(, twe_request) twe_busy; /* requests busy in the controller */
120 TAILQ_HEAD(, twe_request) twe_complete; /* active commands (busy or waiting for completion) */
121 struct twe_request *twe_lookup[TWE_Q_LENGTH]; /* commands indexed by request ID */
153 extern int twe_start(struct twe_request *tr);
170 extern struct twe_request *twe_allocate_request(struct twe_softc *sc, int tag); /* allocate request…
[all …]
HDtwe.c50 void (* func)(struct twe_request *tr));
61 static int twe_wait_request(struct twe_request *tr);
62 static int twe_immediate_request(struct twe_request *tr, int usetmp);
63 static void twe_completeio(struct twe_request *tr);
89 static void twe_handle_aen(struct twe_request *tr);
98 static int twe_get_request(struct twe_softc *sc, struct twe_request **tr);
99 static void twe_release_request(struct twe_request *tr);
105 static int twe_report_request(struct twe_request *tr);
120 struct twe_request *tr; in twe_setup()
401 struct twe_request *tr; in twe_startio()
[all …]
HDtwe_freebsd.c388 struct twe_request *tr; in twe_free()
886 struct twe_request *
889 struct twe_request *tr; in twe_allocate_request()
891 tr = malloc(sizeof(struct twe_request), TWE_MALLOC_CLASS, M_WAITOK | M_ZERO); in twe_allocate_request()
906 twe_free_request(struct twe_request *tr) in twe_free_request()
942 struct twe_request *tr = (struct twe_request *)arg; in twe_setup_data_dmamap()
1046 twe_map_request(struct twe_request *tr) in twe_map_request()
1106 twe_unmap_request(struct twe_request *tr) in twe_unmap_request()