Query: usb_string_id
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
USB_STRING_ID(9) Kernel Mode Gadget API USB_STRING_ID(9)NAMEusb_string_id - allocate an unused string IDSYNOPSISint usb_string_id(struct usb_composite_dev * cdev);ARGUMENTScdev the device whose string descriptor IDs are being allocatedCONTEXTsingle threaded during gadget setupDESCRIPTIONusb_string_id() is called from bind callbacks to allocate string IDs. Drivers for functions, configurations, or gadgets will then store that ID in the appropriate descriptors and string table. All string identifier should be allocated using this routine, to ensure that for example different functions don't wrongly assign different meanings to the same identifier.AUTHORDavid Brownell <dbrownell@users.sourceforge.net> Author.COPYRIGHTKernel Hackers Manual 2.6. July 2010 USB_STRING_ID(9)