Home
last modified time | relevance | path

Searched refs:endpt_desc (Results 1 – 1 of 1) sorted by relevance

/external/u-boot/drivers/usb/host/
Dxhci.c280 struct usb_endpoint_descriptor *endpt_desc) in xhci_parse_microframe_interval() argument
282 if (endpt_desc->bInterval == 0) in xhci_parse_microframe_interval()
285 return xhci_microframes_to_exponent(endpt_desc->bInterval, 0, 15); in xhci_parse_microframe_interval()
289 struct usb_endpoint_descriptor *endpt_desc) in xhci_parse_frame_interval() argument
291 return xhci_microframes_to_exponent(endpt_desc->bInterval * 8, 3, 10); in xhci_parse_frame_interval()
299 struct usb_endpoint_descriptor *endpt_desc) in xhci_parse_exponent_interval() argument
303 interval = clamp_val(endpt_desc->bInterval, 1, 16) - 1; in xhci_parse_exponent_interval()
304 if (interval != endpt_desc->bInterval - 1) in xhci_parse_exponent_interval()
306 endpt_desc->bEndpointAddress, 1 << interval, in xhci_parse_exponent_interval()
331 struct usb_endpoint_descriptor *endpt_desc) in xhci_get_endpoint_interval() argument
[all …]