Lines Matching defs:ed
145 usb_endpoint_descriptor_t *ed;
231 ed = usbd_interface2endpoint_descriptor(sc->cdce_data_iface, i);
232 if (!ed) {
237 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
238 UE_GET_XFERTYPE(ed->bmAttributes) == UE_BULK) {
239 sc->cdce_bulkin_no = ed->bEndpointAddress;
240 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
241 UE_GET_XFERTYPE(ed->bmAttributes) == UE_BULK) {
242 sc->cdce_bulkout_no = ed->bEndpointAddress;
243 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
244 UE_GET_XFERTYPE(ed->bmAttributes) == UE_INTERRUPT) {