Home | History | Annotate | Download | only in usb

Lines Matching defs:ed

121 	usb_endpoint_descriptor_t	*ed;
211 ed = usbd_interface2endpoint_descriptor(un->un_iface, i);
212 if (!ed) {
217 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
218 UE_GET_XFERTYPE(ed->bmAttributes) == UE_BULK) {
219 un->un_ed[USBNET_ENDPT_RX] = ed->bEndpointAddress;
220 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
221 UE_GET_XFERTYPE(ed->bmAttributes) == UE_BULK) {
222 un->un_ed[USBNET_ENDPT_TX] = ed->bEndpointAddress;
223 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
224 UE_GET_XFERTYPE(ed->bmAttributes) == UE_INTERRUPT) {