usb_find_alt_setting(9)

usb_find_alt_setting9

Given a configuration, find the alternate setting for the given interface.

Usage

struct usb_host_interface * usb_find_alt_setting(struct usb_host_config * config, unsigned int iface_num, unsigned int alt_num);

Arguments

config

the configuration to search (not necessarily the current config).

iface_num

interface number to search in

alt_num

alternate interface setting number to search for.

Overview

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

Return

The alternate setting, if found. NULL otherwise.

Releases

3 releases since Debian 7 (Wheezy); the text changed 2 times.

  1. 7
  2. 8
  3. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.