Lines Matching refs:ed
114 usb_endpoint_descriptor_t *ed; in uow_attach() local
134 ed = usbd_interface2endpoint_descriptor(sc->sc_iface, i); in uow_attach()
135 if (ed == NULL) { in uow_attach()
141 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in uow_attach()
142 UE_GET_XFERTYPE(ed->bmAttributes) == UE_BULK) in uow_attach()
143 ep_ibulk = ed->bEndpointAddress; in uow_attach()
144 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in uow_attach()
145 UE_GET_XFERTYPE(ed->bmAttributes) == UE_BULK) in uow_attach()
146 ep_obulk = ed->bEndpointAddress; in uow_attach()
147 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in uow_attach()
148 UE_GET_XFERTYPE(ed->bmAttributes) == UE_INTERRUPT) in uow_attach()
149 ep_intr = ed->bEndpointAddress; in uow_attach()