suse man page for usb_altnum_to_altsetting

Query: usb_altnum_to_altsetting

OS: suse

Section: 9

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

USB_ALTNUM_TO_ALTSET(9) 					   USB Core APIs					   USB_ALTNUM_TO_ALTSET(9)

NAME
usb_altnum_to_altsetting - get the altsetting structure with a given alternate setting number.
SYNOPSIS
struct usb_host_interface * usb_altnum_to_altsetting(const struct usb_interface * intf, unsigned int altnum);
ARGUMENTS
intf the interface containing the altsetting in question altnum the desired alternate setting number
DESCRIPTION
This searches the altsetting array of the specified interface for an entry with the correct bAlternateSetting value and returns a pointer to that entry, or null. Note that altsettings need not be stored sequentially by number, so it would be incorrect to assume that the first altsetting entry in the array corresponds to altsetting zero. This routine helps device drivers avoid such mistakes. Don't call this function unless you are bound to the intf interface or you have locked the device!
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 USB_ALTNUM_TO_ALTSET(9)
Related Man Pages
usb_set_interface(9) - suse
struct_usb_driver(9) - centos
struct_usb_interface(9) - centos
struct_usb_driver(9) - suse
struct_usb_host_config(9) - suse
Similar Topics in the Unix Linux Community
How to restrict user to a specific directory in solaris 10
Cut command on RHEL 6.8 compatibility issues
Update kernel Linux without reboot?!
The Future of the PM (Private Message) System at UNIX.com
32 bit process addressing more than 4GB