Lines Matching defs:ed
191 struct usb_endpoint_descriptor *ed;
206 temp->size += sizeof(*ed) + 2;
208 temp->size += sizeof(*ed);
239 ed = USB_ADD_BYTES(temp->buf, old_size);
241 ed->bLength = sizeof(*ed) + 2;
243 ed->bLength = sizeof(*ed);
244 ed->bDescriptorType = UDESC_ENDPOINT;
245 ed->bEndpointAddress = ea;
246 ed->bmAttributes = ted->bmAttributes;
247 USETW(ed->wMaxPacketSize, mps);
253 ed->bInterval =
259 ed->bInterval = 0; /* not used */
265 ed->bInterval = 1; /* 1 ms */
268 ed->bInterval = 4; /* 1 ms */
276 ed->bInterval = 1; /* 1 ms */
279 ed->bInterval = 1; /* 125 us */
683 struct usb_endpoint_descriptor *ed;
714 (desc->bLength >= sizeof(*ed))) {
716 ed = (void *)desc;
725 temp = (ed->bmAttributes & UE_XFERTYPE);
733 wMaxPacketSize = UGETW(ed->wMaxPacketSize);
749 ep_no = (ed->bEndpointAddress & UE_ADDR);
773 } else if (ed->bEndpointAddress & UE_DIR_IN) {
797 if (ed->bEndpointAddress & UE_DIR_IN) {
798 ed->bEndpointAddress =
801 ed->bEndpointAddress =
815 if (ed->bEndpointAddress & UE_DIR_IN) {