usb_string_ids_tab(9) centos man page | unix.com

Man Page: usb_string_ids_tab

Operating Environment: centos

Section: 9

USB_STRING_IDS_TAB(9)					      Kernel Mode Gadget API					     USB_STRING_IDS_TAB(9)

NAME
usb_string_ids_tab - allocate unused string IDs in batch
SYNOPSIS
int usb_string_ids_tab(struct usb_composite_dev * cdev, struct usb_string * str);
ARGUMENTS
cdev the device whose string descriptor IDs are being allocated str an array of usb_string objects to assign numbers to
CONTEXT
single threaded during gadget setup
DESCRIPTION
usb_string_ids() is called from bind callbacks to allocate string IDs. Drivers for functions, configurations, or gadgets will then copy IDs from the string table to the appropriate descriptors and string table for other languages. All string identifier should be allocated using this, usb_string_id() or usb_string_ids_n() routine, to ensure that for example different functions don't wrongly assign different meanings to the same identifier.
AUTHOR
David Brownell <dbrownell@users.sourceforge.net> Author.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 USB_STRING_IDS_TAB(9)
Related Man Pages
usb_interface_id(9) - suse
struct_usb_configuration(9) - centos
struct_usb_ep(9) - centos
struct_usb_gadget_driver(9) - centos
usb_gstrings_attach(9) - centos
Similar Topics in the Unix Linux Community
Docker learning Phase-I
Shopt -s histappend
Controlling user input
[TIP] Processing YAML files with yq
Please Welcome Dave Munro to the Moderator Team!