other versions
- wheezy 3.2.78-1
USB_STRING_IDS_N(9) | Kernel Mode Gadget API | USB_STRING_IDS_N(9) |
NAME¶
usb_string_ids_n - allocate unused string IDs in batchSYNOPSIS¶
int
usb_string_ids_n(struct usb_composite_dev * c,
unsigned n);
ARGUMENTS¶
cthe device whose string descriptor IDs are
being allocated
n
number of string IDs to allocate
CONTEXT¶
single threaded during gadget setupDESCRIPTION¶
Returns the first requested ID. This ID and next n-1 IDs are now valid IDs. At least provided that n is non-zero because if it is, returns last requested ID which is now very useful information.AUTHOR¶
David Brownell <dbrownell@users.sourceforge.net>Author.
COPYRIGHT¶
March 2016 | Kernel Hackers Manual 3.2. |