'\" t .\" Title: usb_find_alt_setting .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: USB Core APIs .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "USB_FIND_ALT_SETTING" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "USB Core APIs" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" usb_find_alt_setting \- Given a configuration, find the alternate setting for the given interface\&. .SH "SYNOPSIS" .HP \w'struct\ usb_host_interface\ *\ usb_find_alt_setting('u .BI "struct usb_host_interface * usb_find_alt_setting(struct\ usb_host_config\ *\ " "config" ", unsigned\ int\ " "iface_num" ", unsigned\ int\ " "alt_num" ");" .SH "ARGUMENTS" .PP \fIconfig\fR .RS 4 the configuration to search (not necessarily the current config)\&. .RE .PP \fIiface_num\fR .RS 4 interface number to search in .RE .PP \fIalt_num\fR .RS 4 alternate interface setting number to search for\&. .RE .SH "DESCRIPTION" .PP Search the configuration\*(Aqs interface cache for the given alt setting\&. .SH "RETURN" .PP The alternate setting, if found\&. \fBNULL\fR otherwise\&. .SH "COPYRIGHT" .br