Lines Matching defs:ed
110 usb_endpoint_descriptor_t *ed;
168 ed = usbd_interface2endpoint_descriptor(sc->sc_data_iface, i);
169 if (ed == NULL) {
174 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
175 (ed->bmAttributes & UE_XFERTYPE) == UE_BULK) {
176 uca->bulkin = ed->bEndpointAddress;
177 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
178 (ed->bmAttributes & UE_XFERTYPE) == UE_BULK) {
179 uca->bulkout = ed->bEndpointAddress;
223 ed = usbd_interface2endpoint_descriptor(sc->sc_ctl_iface, i);
224 if (ed == NULL)
227 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
228 (ed->bmAttributes & UE_XFERTYPE) == UE_INTERRUPT) {
231 sc->sc_ctl_notify = ed->bEndpointAddress;