1USB_GET_CURRENT_FRAM(9) USB Core APIs USB_GET_CURRENT_FRAM(9)
2
3
4
6 usb_get_current_frame_number - return current bus frame number
7
9 int usb_get_current_frame_number(struct usb_device * dev);
10
12 dev
13 the device whose bus is being queried
14
16 The current frame number for the USB host controller used with the
17 given USB device. This can be used when scheduling isochronous
18 requests.
19
21 Different kinds of host controller have different “scheduling
22 horizons”. While one type might support scheduling only 32 frames into
23 the future, others could support scheduling up to 1024 frames into the
24 future.
25
27Kernel Hackers Manual 3.10 June 2019 USB_GET_CURRENT_FRAM(9)