Lines Matching defs:ed
198 usb_endpoint_descriptor_t *ed;
289 ed = usbd_interface2endpoint_descriptor(
291 if (ed == NULL) {
298 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
299 UE_GET_XFERTYPE(ed->bmAttributes) == UE_INTERRUPT) {
300 sc->sc_ubsa.sc_intr_number = ed->bEndpointAddress;
301 sc->sc_ubsa.sc_isize = UGETW(ed->wMaxPacketSize);
302 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
303 UE_GET_XFERTYPE(ed->bmAttributes) == UE_BULK) {
304 uca.bulkin = ed->bEndpointAddress;
305 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
306 UE_GET_XFERTYPE(ed->bmAttributes) == UE_BULK) {
307 uca.bulkout = ed->bEndpointAddress;
528 usb_endpoint_descriptor_t *ed;
537 ed = usbd_interface2endpoint_descriptor(sc->sc_iface[iface], i);
538 if (ed == NULL)
541 if (UE_GET_XFERTYPE(ed->bmAttributes) == UE_BULK) {
546 USETW(req.wIndex, ed->bEndpointAddress);
551 __func__, ed->bEndpointAddress));