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 Returns the current frame number for the USB host controller used with
17 the given USB device. This can be used when scheduling isochronous
18 requests.
19
20 Note that different kinds of host controller have different “scheduling
21 horizons”. While one type might support scheduling only 32 frames into
22 the future, others could support scheduling up to 1024 frames into the
23 future.
24
26Kernel Hackers Manual 2.6. June 2019 USB_GET_CURRENT_FRAM(9)