suse man page for usb_add_config

Query: usb_add_config

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

USB_ADD_CONFIG(9)					      Kernel Mode Gadget API						 USB_ADD_CONFIG(9)

NAME
usb_add_config - add a configuration to a device.
SYNOPSIS
int usb_add_config(struct usb_composite_dev * cdev, struct usb_configuration * config);
ARGUMENTS
cdev wraps the USB gadget config the configuration, with bConfigurationValue assigned
CONTEXT
single threaded during gadget setup
DESCRIPTION
One of the main tasks of a composite driver's bind routine is to add each of the configurations it supports, using this routine. This function returns the value of the configuration's bind, which is zero for success else a negative errno value. Binding configurations assigns global resources including string IDs, and per-configuration resources such as interface IDs and endpoints.
AUTHOR
David Brownell <dbrownell@users.sourceforge.net> Author.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 USB_ADD_CONFIG(9)
Related Man Pages
usb_interface_id(9) - suse
struct_usb_gadget_driver(9) - centos
struct_usb_composite_driver(9) - suse
struct_usb_function(9) - suse
usb_gadget_config_buf(9) - suse
Similar Topics in the Unix Linux Community
Change directory error
Grant unprivileged user rights to see the output of echo|format but not modify disks
SOCKS proxy &amp; PAM configuration exposure
A (ksh) Library For and From UNIX.com
32 bit process addressing more than 4GB