usb_find_interface(9)

usb_find_interface9

Find usb_interface pointer for driver and device

Usage

struct usb_interface * usb_find_interface(struct usb_driver * drv, int minor);

Arguments

drv

the driver whose current configuration is considered

minor

the minor number of the desired device

Overview

This walks the bus device list and returns a pointer to the interface with the matching minor and driver. Note, this only works for devices that share the USB major number.

Return

A pointer to the interface with the matching major and minor.

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

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