usb_hub_find_child(9)

usb_hub_find_child9

Get the pointer of child device attached to the port which is specified by port1.

Usage

struct usb_device * usb_hub_find_child(struct usb_device * hdev, int port1);

Arguments

hdev

USB device belonging to the usb hub

port1

port num to indicate which port the child device is attached to.

Overview

USB drivers call this function to get hub's child device pointer.

Return

NULL if input param is invalid and child's usb_device pointer if non-NULL.

Releases

2 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8
  2. 9

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