Rechercher une page de manuel
usb_add_config
Langue: en
Version: May 2009 (fedora - 06/07/09)
Section: 9 (Appels noyau Linux)
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
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre