other versions
- wheezy-backports 3.16.39-1+deb8u1~bpo70+1
- jessie 3.16.43-2
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¶
February 2017 | Kernel Hackers Manual 3.16 |