Searched defs:ep_desc (Results 1 - 1 of 1) sorted by relevance

/system/core/libusbhost/
H A Dusbhost.c547 const struct usb_endpoint_descriptor *ep_desc)
553 if ((ep_desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == USB_ENDPOINT_XFER_BULK)
555 else if ((ep_desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == USB_ENDPOINT_XFER_INT)
558 D("Unsupported endpoint type %d", ep_desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK);
562 urb->endpoint = ep_desc->bEndpointAddress;
571 req->max_packet_size = __le16_to_cpu(ep_desc->wMaxPacketSize);
546 usb_request_new(struct usb_device *dev, const struct usb_endpoint_descriptor *ep_desc) argument

Completed in 4 milliseconds