Lines Matching defs:ed
540 struct usb_endpoint_descriptor *ed;
613 ed = NULL;
619 while ((ed = (struct usb_endpoint_descriptor *)usb_desc_foreach(
621 (struct usb_descriptor *)ed))) {
623 if ((ed->bDescriptorType == UDESC_INTERFACE) &&
624 (ed->bLength >= sizeof(*id))) {
625 id = (struct usb_interface_descriptor *)ed;
630 if ((ed->bDescriptorType == UDESC_ENDPOINT) &&
631 (ed->bLength >= sizeof(*ed)) &&
635 temp = UGETW(ed->wMaxPacketSize);