Searched refs:sc_endpoints (Results 1 – 3 of 3) sorted by relevance
399 ep = sc->sc_endpoints; in alloc_all_endpoints()403 while(ep != sc->sc_endpoints) { in alloc_all_endpoints()407 free(sc->sc_endpoints, M_USBDEV); in alloc_all_endpoints()408 sc->sc_endpoints = sc->sc_out_ep = sc->sc_in_ep = NULL; in alloc_all_endpoints()421 free_pipe(&sc->sc_endpoints[i]); in free_all_endpoints()422 if (sc->sc_endpoints != NULL) in free_all_endpoints()423 free(sc->sc_endpoints, M_USBDEV); in free_all_endpoints()424 sc->sc_endpoints = sc->sc_out_ep = sc->sc_in_ep = NULL; in free_all_endpoints()442 sc->sc_endpoints = malloc(sizeof(*sc->sc_out_ep)* in alloc_all_endpoints_fixed_ep()446 if (!sc->sc_endpoints) { in alloc_all_endpoints_fixed_ep()[all …]
115 struct ugen_endpoint sc_endpoints[USB_MAX_ENDPOINTS][2]; member284 memset(sc->sc_endpoints, 0, sizeof sc->sc_endpoints); in ugen_set_config()297 sce = &sc->sc_endpoints[UE_GET_ADDR(endpt)][dir]; in ugen_set_config()343 sce = &sc->sc_endpoints[endpt][dir]; in ugenopen()354 sce = &sc->sc_endpoints[endpt][dir]; in ugenopen()480 sce = &sc->sc_endpoints[endpt][dir]; in ugenclose()517 struct ugen_endpoint *sce = &sc->sc_endpoints[endpt][IN]; in ugen_do_read()675 struct ugen_endpoint *sce = &sc->sc_endpoints[endpt][OUT]; in ugen_do_write()807 sce = &sc->sc_endpoints[i][dir]; in USB_DETACH()817 wakeup(&sc->sc_endpoints[i][IN]); in USB_DETACH()[all …]
126 struct umidi_endpoint *sc_endpoints; member