Home | History | Annotate | Download | only in usb

Lines Matching defs:IN

12  * Effort sponsored in part by the Defense Advanced Research Projects
16 * Redistribution and use in source and binary forms, with or without
21 * 2. Redistributions in binary form must reproduce the above copyright
22 * notice, this list of conditions and the following disclaimer in the
28 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
32 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
34 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
145 #define UGEN_BULK_RA 0x08 /* in bulk read-ahead mode */
146 #define UGEN_BULK_WB 0x10 /* in bulk write-behind mode */
157 uint32_t ra_wb_used; /* how much is in buffer */
161 /* Keep these last; we don't overwrite them in ugen_set_config() */
179 #define IN 1
426 for (dir = OUT; dir <= IN; dir++) {
473 for (int dir = OUT; dir <= IN; dir++) {
545 dir = UE_GET_DIR(endpt) == UE_DIR_IN ? IN : OUT;
608 for (dir = OUT; dir <= IN; dir++) {
620 for (dir = OUT; dir <= IN; dir++) {
768 for (dir = OUT; dir <= IN; dir++) {
814 for (dir = OUT; dir <= IN; dir++) {
851 struct ugen_endpoint *sce = &sc->sc_endpoints[endpt][IN];
1277 for (dir = OUT; dir <= IN; dir++) {
1287 * this, there can be no more I/O operations in progress, so it
1294 for (dir = OUT; dir <= IN; dir++)
1322 for (dir = OUT; dir <= IN; dir++) {
1462 /* Keep track of how much is in the buffer. */
1531 /* Keep track of how much is in the buffer. */
1611 dir = UE_GET_DIR(endpt) == UE_DIR_IN ? IN : OUT;
1698 /* All handled in the upper FS layer. */
1704 sce = &sc->sc_endpoints[endpt][IN];
1715 for (dir = OUT; dir <= IN; dir++) {
1728 sce = &sc->sc_endpoints[endpt][IN];
1779 * XXX Discard whatever's in the buffer, but we
1823 * XXX Discard whatever's in the buffer, but we
1843 sce = &sc->sc_endpoints[endpt][IN];
2057 sce = &sc->sc_endpoints[endpt][IN];
2128 sce_in = &sc->sc_endpoints[UGENENDPOINT(dev)][IN];
2357 sce = &sc->sc_endpoints[UGENENDPOINT(dev)][IN];