usb_altnum_to_altsetting man page on Scientific

Man page or keyword search:  
man Server   26626 pages
apropos Keyword Search (all sections)
Output format
Scientific logo
[printable version]

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.	 November 2013	       USB_ALTNUM_TO_ALTSET(9)
[top]

List of man pages available for Scientific

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net