Searched refs:endpt_desc (Results 1 – 1 of 1) sorted by relevance
281 struct usb_endpoint_descriptor *endpt_desc) in xhci_parse_microframe_interval() argument283 if (endpt_desc->bInterval == 0) in xhci_parse_microframe_interval()286 return xhci_microframes_to_exponent(endpt_desc->bInterval, 0, 15); in xhci_parse_microframe_interval()290 struct usb_endpoint_descriptor *endpt_desc) in xhci_parse_frame_interval() argument292 return xhci_microframes_to_exponent(endpt_desc->bInterval * 8, 3, 10); in xhci_parse_frame_interval()300 struct usb_endpoint_descriptor *endpt_desc) in xhci_parse_exponent_interval() argument304 interval = clamp_val(endpt_desc->bInterval, 1, 16) - 1; in xhci_parse_exponent_interval()305 if (interval != endpt_desc->bInterval - 1) in xhci_parse_exponent_interval()307 endpt_desc->bEndpointAddress, 1 << interval, in xhci_parse_exponent_interval()332 struct usb_endpoint_descriptor *endpt_desc) in xhci_get_endpoint_interval() argument[all …]