Searched refs:ep_desc (Results 1 – 2 of 2) sorted by relevance
633 const struct usb_endpoint_descriptor *ep_desc) in usb_request_new() argument639 if ((ep_desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == USB_ENDPOINT_XFER_BULK) in usb_request_new()641 else if ((ep_desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == USB_ENDPOINT_XFER_INT) in usb_request_new()644 D("Unsupported endpoint type %d", ep_desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK); in usb_request_new()648 urb->endpoint = ep_desc->bEndpointAddress; in usb_request_new()657 req->max_packet_size = __le16_to_cpu(ep_desc->wMaxPacketSize); in usb_request_new()
227 const struct usb_endpoint_descriptor *ep_desc);