Lines Matching refs:sc_rd_pipe
110 struct usbd_pipe *sc_rd_pipe; member
340 if (sc->sc_rd_pipe != NULL) { in ustir_detach()
341 usbd_abort_pipe(sc->sc_rd_pipe); in ustir_detach()
356 if (sc->sc_rd_pipe != NULL) { in ustir_detach()
357 usbd_close_pipe(sc->sc_rd_pipe); in ustir_detach()
358 sc->sc_rd_pipe = NULL; in ustir_detach()
671 usbd_clear_endpoint_stall(sc->sc_rd_pipe); in ustir_start_read()
710 err = usbd_open_pipe(sc->sc_iface, sc->sc_rd_addr, 0, &sc->sc_rd_pipe); in ustir_open()
720 error = usbd_create_xfer(sc->sc_rd_pipe, IRDA_MAX_FRAME_SIZE, in ustir_open()
771 usbd_close_pipe(sc->sc_rd_pipe); in ustir_open()
772 sc->sc_rd_pipe = NULL; in ustir_open()
796 if (sc->sc_rd_pipe != NULL) { in ustir_close()
797 usbd_abort_pipe(sc->sc_rd_pipe); in ustir_close()
798 sc->sc_rd_pipe = NULL; in ustir_close()
818 if (sc->sc_rd_pipe != NULL) { in ustir_close()
819 usbd_close_pipe(sc->sc_rd_pipe); in ustir_close()
820 sc->sc_rd_pipe = NULL; in ustir_close()