usb_add_config(9) centos man page | unix.com

Man Page: usb_add_config

Operating Environment: centos

Section: 9

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, int (*bind) (struct usb_configuration *));
ARGUMENTS
cdev wraps the USB gadget config the configuration, with bConfigurationValue assigned bind the configuration's bind function
CONTEXT
single threaded during gadget setup
DESCRIPTION
One of the main tasks of a composite 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 3.10 June 2014 USB_ADD_CONFIG(9)
Related Man Pages
struct_usb_gadget_driver(9) - centos
usb_gstrings_attach(9) - centos
struct_usb_composite_driver(9) - suse
struct_usb_composite_dev(9) - suse
usb_gadget_config_buf(9) - suse
Similar Topics in the Unix Linux Community
Set hard block limit for user using quota
Best performance UNIX just for HOST Virtualization?
DB2 convert digits to binary format
CentOS7 restoring file capabilities
Unsure why access time on a directory change isn't changing