Searched refs:epd (Results 1 – 3 of 3) sorted by relevance
1372 struct usb_endpoint_descriptor* epd = &ep_desc[i]; in usbdev_init() local1375 if ((epd->bEndpointAddress & 0x80) == USB_DIR_IN) { in usbdev_init()1402 epd->bEndpointAddress &= ~0x0f; in usbdev_init()1403 epd->bEndpointAddress |= (u8)ep->address; in usbdev_init()1404 ep->direction = epd->bEndpointAddress & 0x80; in usbdev_init()1405 ep->type = epd->bmAttributes & 0x03; in usbdev_init()1406 ep->max_pkt_size = epd->wMaxPacketSize; in usbdev_init()1408 ep->desc = epd; in usbdev_init()
982 struct usb_endpoint_descriptor *epd, *epwrite, *epread; in usblp_select_alts() local1004 epd = &ifd->endpoint[e]; in usblp_select_alts()1006 if ((epd->bmAttributes&USB_ENDPOINT_XFERTYPE_MASK)!= in usblp_select_alts()1010 if (!(epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK)) { in usblp_select_alts()1011 if (!epwrite) epwrite=epd; in usblp_select_alts()1014 if (!epread) epread=epd; in usblp_select_alts()
24 typedef struct epd { struct