Searched refs:sc_intr_pipe (Results 1 – 9 of 9) sorted by relevance
/openbsd/sys/dev/usb/ |
H A D | uts.c | 56 struct usbd_pipe *sc_intr_pipe; member 149 sc->sc_intr_pipe = NULL; in uts_attach() 210 if (sc->sc_intr_pipe != NULL) { in uts_detach() 211 usbd_close_pipe(sc->sc_intr_pipe); in uts_detach() 212 sc->sc_intr_pipe = NULL; in uts_detach() 256 USBD_SHORT_XFER_OK, &sc->sc_intr_pipe, sc, sc->sc_ibuf, in uts_enable() 260 sc->sc_intr_pipe = NULL; in uts_enable() 281 if (sc->sc_intr_pipe != NULL) { in uts_disable() 282 usbd_close_pipe(sc->sc_intr_pipe); in uts_disable() 283 sc->sc_intr_pipe = NULL; in uts_disable() [all …]
|
H A D | uxrcom.c | 67 struct usbd_pipe *sc_intr_pipe; member 208 if (sc->sc_intr_pipe != NULL) { in uxrcom_detach() 209 usbd_close_pipe(sc->sc_intr_pipe); in uxrcom_detach() 210 sc->sc_intr_pipe = NULL; in uxrcom_detach() 225 if (sc->sc_intr_number != -1 && sc->sc_intr_pipe == NULL) { in uxrcom_open() 227 sc->sc_intr_number, USBD_SHORT_XFER_OK, &sc->sc_intr_pipe, in uxrcom_open() 246 if (sc->sc_intr_pipe != NULL) { in uxrcom_close() 247 err = usbd_close_pipe(sc->sc_intr_pipe); in uxrcom_close() 251 sc->sc_intr_pipe = NULL; in uxrcom_close() 383 usbd_clear_endpoint_stall_async(sc->sc_intr_pipe); in uxrcom_intr()
|
H A D | umct.c | 72 struct usbd_pipe *sc_intr_pipe; /* interrupt pipe */ member 184 sc->sc_intr_pipe = NULL; in umct_attach() 291 if (sc->sc_intr_pipe != NULL) { in umct_detach() 292 usbd_close_pipe(sc->sc_intr_pipe); in umct_detach() 294 sc->sc_intr_pipe = NULL; in umct_detach() 519 if (sc->sc_intr_number != -1 && sc->sc_intr_pipe == NULL) { in umct_open() 523 USBD_SHORT_XFER_OK, &sc->sc_intr_pipe, sc, in umct_open() 547 if (sc->sc_intr_pipe != NULL) { in umct_close() 548 err = usbd_close_pipe(sc->sc_intr_pipe); in umct_close() 553 sc->sc_intr_pipe = NULL; in umct_close() [all …]
|
H A D | ubsa.c | 143 struct usbd_pipe *sc_intr_pipe; /* interrupt pipe */ member 257 sc->sc_intr_pipe = NULL; in ubsa_attach() 363 if (sc->sc_intr_pipe != NULL) { in ubsa_detach() 364 usbd_close_pipe(sc->sc_intr_pipe); in ubsa_detach() 366 sc->sc_intr_pipe = NULL; in ubsa_detach() 583 if (sc->sc_intr_number != -1 && sc->sc_intr_pipe == NULL) { in ubsa_open() 588 &sc->sc_intr_pipe, in ubsa_open() 616 if (sc->sc_intr_pipe != NULL) { in ubsa_close() 617 err = usbd_close_pipe(sc->sc_intr_pipe); in ubsa_close() 623 sc->sc_intr_pipe = NULL; in ubsa_close() [all …]
|
H A D | uvscom.c | 127 struct usbd_pipe *sc_intr_pipe; /* interrupt pipe */ member 239 sc->sc_intr_pipe = NULL; in uvscom_attach() 345 if (sc->sc_intr_pipe != NULL) { in uvscom_detach() 346 usbd_close_pipe(sc->sc_intr_pipe); in uvscom_detach() 348 sc->sc_intr_pipe = NULL; in uvscom_detach() 664 if (sc->sc_intr_number != -1 && sc->sc_intr_pipe == NULL) { in uvscom_open() 680 &sc->sc_intr_pipe, in uvscom_open() 734 if (sc->sc_intr_pipe != NULL) { in uvscom_close() 735 err = usbd_close_pipe(sc->sc_intr_pipe); in uvscom_close() 741 sc->sc_intr_pipe = NULL; in uvscom_close() [all …]
|
H A D | uplcom.c | 88 struct usbd_pipe *sc_intr_pipe; /* interrupt pipe */ member 235 sc->sc_intr_pipe = NULL; in uplcom_attach() 425 if (sc->sc_intr_pipe != NULL) { in uplcom_detach() 426 usbd_close_pipe(sc->sc_intr_pipe); in uplcom_detach() 428 sc->sc_intr_pipe = NULL; in uplcom_detach() 675 if (sc->sc_intr_number != -1 && sc->sc_intr_pipe == NULL) { in uplcom_open() 678 USBD_SHORT_XFER_OK, &sc->sc_intr_pipe, sc, in uplcom_open() 752 if (sc->sc_intr_pipe != NULL) { in uplcom_close() 753 err = usbd_close_pipe(sc->sc_intr_pipe); in uplcom_close() 758 sc->sc_intr_pipe = NULL; in uplcom_close() [all …]
|
H A D | uticom.c | 123 struct usbd_pipe *sc_intr_pipe; /* interrupt pipe */ member 226 sc->sc_intr_pipe = NULL; in uticom_attach_hook() 453 if (sc->sc_intr_pipe != NULL) { in uticom_detach() 454 usbd_close_pipe(sc->sc_intr_pipe); in uticom_detach() 456 sc->sc_intr_pipe = NULL; in uticom_detach() 707 if (sc->sc_intr_number != -1 && sc->sc_intr_pipe == NULL) { in uticom_open() 710 USBD_SHORT_XFER_OK, &sc->sc_intr_pipe, sc, sc->sc_intr_buf, in uticom_open() 749 if (sc->sc_intr_pipe != NULL) { in uticom_close() 750 err = usbd_close_pipe(sc->sc_intr_pipe); in uticom_close() 755 sc->sc_intr_pipe = NULL; in uticom_close() [all …]
|
H A D | umsm.c | 70 struct usbd_pipe *sc_intr_pipe; member 470 if (sc->sc_intr_pipe != NULL) { in umsm_detach() 471 usbd_close_pipe(sc->sc_intr_pipe); in umsm_detach() 473 sc->sc_intr_pipe = NULL; in umsm_detach() 494 if (sc->sc_intr_number != -1 && sc->sc_intr_pipe == NULL) { in umsm_open() 499 &sc->sc_intr_pipe, in umsm_open() 525 if (sc->sc_intr_pipe != NULL) { in umsm_close() 526 err = usbd_close_pipe(sc->sc_intr_pipe); in umsm_close() 532 sc->sc_intr_pipe = NULL; in umsm_close() 554 usbd_clear_endpoint_stall_async(sc->sc_intr_pipe); in umsm_intr()
|
H A D | uchcom.c | 138 struct usbd_pipe *sc_intr_pipe; member 925 if (sc->sc_intr_endpoint != -1 && sc->sc_intr_pipe == NULL) { in uchcom_setup_intr_pipe() 930 &sc->sc_intr_pipe, sc, in uchcom_setup_intr_pipe() 949 if (sc->sc_intr_pipe != NULL) { in uchcom_close_intr_pipe() 950 err = usbd_close_pipe(sc->sc_intr_pipe); in uchcom_close_intr_pipe() 955 sc->sc_intr_pipe = NULL; in uchcom_close_intr_pipe() 1085 usbd_clear_endpoint_stall_async(sc->sc_intr_pipe); in uchcom_intr()
|