1. NAME

usb_gadget_frame_number - returns the current frame number

2. SYNOPSIS

int usb_gadget_frame_number(struct usb_gadget *  gadget );

3. ARGUMENTS

gadget
    controller that reports the frame number

4. DESCRIPTION

Returns the usb frame number, normally eleven bits from a SOF packet, or negative errno if this device doesnAqt support this capability.

5. AUTHOR

David Brownell <>
    Author.

6. COPYRIGHT