Home
last modified time | relevance | path

Searched refs:sc_ep (Results 1 – 6 of 6) sorted by relevance

/openbsd/sys/dev/usb/
H A Dif_ugl.c133 struct usbd_pipe *sc_ep[UGL_ENDPT_MAX]; member
285 if (sc->sc_ep[UGL_ENDPT_TX] != NULL || in ugl_detach()
286 sc->sc_ep[UGL_ENDPT_RX] != NULL || in ugl_detach()
287 sc->sc_ep[UGL_ENDPT_INTR] != NULL) in ugl_detach()
645 if (sc->sc_ep[UGL_ENDPT_RX] == NULL) { in ugl_init()
681 0, &sc->sc_ep[UGL_ENDPT_INTR], sc, in ugl_openpipes()
816 if (sc->sc_ep[UGL_ENDPT_RX] != NULL) { in ugl_stop()
818 sc->sc_ep[UGL_ENDPT_RX] = NULL; in ugl_stop()
821 if (sc->sc_ep[UGL_ENDPT_TX] != NULL) { in ugl_stop()
823 sc->sc_ep[UGL_ENDPT_TX] = NULL; in ugl_stop()
[all …]
H A Dif_upl.c123 struct usbd_pipe *sc_ep[UPL_ENDPT_MAX]; member
292 if (sc->sc_ep[UPL_ENDPT_TX] != NULL || in upl_detach()
293 sc->sc_ep[UPL_ENDPT_RX] != NULL || in upl_detach()
294 sc->sc_ep[UPL_ENDPT_INTR] != NULL) in upl_detach()
625 if (sc->sc_ep[UPL_ENDPT_RX] == NULL) { in upl_init()
661 0, &sc->sc_ep[UPL_ENDPT_INTR], sc, in upl_openpipes()
818 if (sc->sc_ep[UPL_ENDPT_RX] != NULL) { in upl_stop()
824 sc->sc_ep[UPL_ENDPT_RX] = NULL; in upl_stop()
827 if (sc->sc_ep[UPL_ENDPT_TX] != NULL) { in upl_stop()
833 sc->sc_ep[UPL_ENDPT_TX] = NULL; in upl_stop()
[all …]
H A Dif_smsc.c698 if (sc->sc_ep[SMSC_ENDPT_RX] != NULL) { in smsc_stop()
704 sc->sc_ep[SMSC_ENDPT_RX] = NULL; in smsc_stop()
707 if (sc->sc_ep[SMSC_ENDPT_TX] != NULL) { in smsc_stop()
713 sc->sc_ep[SMSC_ENDPT_TX] = NULL; in smsc_stop()
722 sc->sc_ep[SMSC_ENDPT_INTR] = NULL; in smsc_stop()
1076 if (sc->sc_ep[SMSC_ENDPT_TX] != NULL) in smsc_detach()
1078 if (sc->sc_ep[SMSC_ENDPT_RX] != NULL) in smsc_detach()
1080 if (sc->sc_ep[SMSC_ENDPT_INTR] != NULL) in smsc_detach()
1108 if (sc->sc_ep[SMSC_ENDPT_TX] != NULL || in smsc_detach()
1109 sc->sc_ep[SMSC_ENDPT_RX] != NULL || in smsc_detach()
[all …]
H A Dif_uaq.c235 struct usbd_pipe *sc_ep[UAQ_ENDPT_MAX]; member
528 if (sc->sc_ep[UAQ_ENDPT_TX] != NULL) in uaq_detach()
530 if (sc->sc_ep[UAQ_ENDPT_RX] != NULL) in uaq_detach()
532 if (sc->sc_ep[UAQ_ENDPT_INTR] != NULL) in uaq_detach()
774 0, &sc->sc_ep[UAQ_ENDPT_INTR], sc, in uaq_init()
911 sc->sc_ep[UAQ_ENDPT_RX] = NULL; in uaq_stop()
920 sc->sc_ep[UAQ_ENDPT_TX] = NULL; in uaq_stop()
929 sc->sc_ep[UAQ_ENDPT_INTR] = NULL; in uaq_stop()
1035 sc->sc_ep[UAQ_ENDPT_INTR]); in uaq_intr()
1107 sc->sc_ep[UAQ_ENDPT_RX]); in uaq_rxeof()
[all …]
H A Dif_smscreg.h288 struct usbd_pipe *sc_ep[SMSC_ENDPT_MAX]; member
/openbsd/sys/dev/pcmcia/
H A Dif_ep_pcmcia.c99 struct ep_softc sc_ep; /* real "ep" softc */ member
240 struct ep_softc *sc = &psc->sc_ep; in ep_pcmcia_attach()
373 struct ep_softc *esc = &sc->sc_ep; in ep_pcmcia_activate()
381 if (sc->sc_ep.sc_ih) in ep_pcmcia_activate()
382 pcmcia_intr_disestablish(sc->sc_pf, sc->sc_ep.sc_ih); in ep_pcmcia_activate()
383 sc->sc_ep.sc_ih = NULL; in ep_pcmcia_activate()
388 sc->sc_ep.sc_ih = pcmcia_intr_establish(sc->sc_pf, IPL_NET, in ep_pcmcia_activate()
394 if (sc->sc_ep.sc_ih) in ep_pcmcia_activate()
395 pcmcia_intr_disestablish(sc->sc_pf, sc->sc_ep.sc_ih); in ep_pcmcia_activate()
396 sc->sc_ep.sc_ih = NULL; in ep_pcmcia_activate()