Home
last modified time | relevance | path

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

/netbsd/src/sys/dev/usb/
Dulpt.c108 struct usbd_pipe *sc_out_pipe; /* bulk out pipe */ member
356 if (sc->sc_out_pipe != NULL) in ulpt_detach()
357 usbd_abort_pipe(sc->sc_out_pipe); in ulpt_detach()
483 err = usbd_open_pipe(sc->sc_iface, sc->sc_out, 0, &sc->sc_out_pipe); in ulptopen()
488 error = usbd_create_xfer(sc->sc_out_pipe, ULPT_BSIZE, 0, 0, in ulptopen()
525 usbd_close_pipe(sc->sc_out_pipe); in ulptopen()
526 sc->sc_out_pipe = NULL; in ulptopen()
579 if (sc->sc_out_pipe != NULL) { in ulptclose()
580 usbd_abort_pipe(sc->sc_out_pipe); in ulptclose()
586 if (sc->sc_out_pipe != NULL) { in ulptclose()
[all …]
Dusscanner.c112 struct usbd_pipe *sc_out_pipe; member
265 USBD_EXCLUSIVE_USE, &sc->sc_out_pipe); in usscanner_attach()
273 error = usbd_create_xfer(sc->sc_out_pipe, USSCANNER_MAX_TRANSFER_SIZE, in usscanner_attach()
302 error = usbd_create_xfer(sc->sc_out_pipe, USSCANNER_MAX_TRANSFER_SIZE, in usscanner_attach()
376 if (sc->sc_out_pipe != NULL) in usscanner_detach()
377 usbd_abort_pipe(sc->sc_out_pipe); in usscanner_detach()
421 if (sc->sc_out_pipe != NULL) { in usscanner_cleanup()
422 usbd_close_pipe(sc->sc_out_pipe); in usscanner_cleanup()
423 sc->sc_out_pipe = NULL; in usscanner_cleanup()
Dutoppy.c145 struct usbd_pipe *sc_out_pipe; /* bulk out pipe */ member
293 sc->sc_out_pipe = NULL; in utoppy_attach()
296 if (usbd_open_pipe(sc->sc_iface, sc->sc_out, 0, &sc->sc_out_pipe)) { in utoppy_attach()
309 usbd_close_pipe(sc->sc_out_pipe); in utoppy_attach()
310 sc->sc_out_pipe = NULL; in utoppy_attach()
316 error = usbd_create_xfer(sc->sc_out_pipe, UTOPPY_FRAG_SIZE, 0, 0, in utoppy_attach()
366 if (sc->sc_out_pipe != NULL) in utoppy_detach()
367 usbd_abort_pipe(sc->sc_out_pipe); in utoppy_detach()
376 if (sc->sc_out_pipe != NULL) in utoppy_detach()
377 usbd_close_pipe(sc->sc_out_pipe); in utoppy_detach()
[all …]