1USB_FIND_ALT_SETTING(9)          USB Core APIs         USB_FIND_ALT_SETTING(9)
2
3
4

NAME

6       usb_find_alt_setting - Given a configuration, find the alternate
7       setting for the given interface.
8

SYNOPSIS

10       struct usb_host_interface *
11                                                        usb_find_alt_setting(struct usb_host_config * config,
12                                                        unsigned int iface_num,
13                                                        unsigned int alt_num);
14

ARGUMENTS

16       config
17           the configuration to search (not necessarily the current config).
18
19       iface_num
20           interface number to search in
21
22       alt_num
23           alternate interface setting number to search for.
24

DESCRIPTION

26       Search the configuration's interface cache for the given alt setting.
27

RETURN

29       The alternate setting, if found.  NULL otherwise.
30
32Kernel Hackers Manual 3.10         June 2019           USB_FIND_ALT_SETTING(9)
Impressum