Lines Matching defs:ed
186 struct usb_endpoint_descriptor *ed;
201 temp->size += sizeof(*ed) + 2;
203 temp->size += sizeof(*ed);
234 ed = USB_ADD_BYTES(temp->buf, old_size);
236 ed->bLength = sizeof(*ed) + 2;
238 ed->bLength = sizeof(*ed);
239 ed->bDescriptorType = UDESC_ENDPOINT;
240 ed->bEndpointAddress = ea;
241 ed->bmAttributes = ted->bmAttributes;
242 USETW(ed->wMaxPacketSize, mps);
248 ed->bInterval =
254 ed->bInterval = 0; /* not used */
260 ed->bInterval = 1; /* 1 ms */
263 ed->bInterval = 4; /* 1 ms */
271 ed->bInterval = 1; /* 1 ms */
274 ed->bInterval = 1; /* 125 us */
678 struct usb_endpoint_descriptor *ed;
709 (desc->bLength >= sizeof(*ed))) {
711 ed = (void *)desc;
720 temp = (ed->bmAttributes & UE_XFERTYPE);
728 wMaxPacketSize = UGETW(ed->wMaxPacketSize);
744 ep_no = (ed->bEndpointAddress & UE_ADDR);
768 } else if (ed->bEndpointAddress & UE_DIR_IN) {
792 if (ed->bEndpointAddress & UE_DIR_IN) {
793 ed->bEndpointAddress =
796 ed->bEndpointAddress =
810 if (ed->bEndpointAddress & UE_DIR_IN) {