usb_bus_start_enum(9)

usb_bus_start_enum9

Start immediate enumeration (for otg)

Usage

int usb_bus_start_enum(struct usb_bus * bus, unsigned port_num);

Arguments

bus

the bus (must use hcd framework)

port_num

1-based number of port; usually bus->otg_port

Context

in_interrupt

Overview

Starts enumeration, with an immediate reset followed later by hub_wq identifying and possibly configuring the device. This is needed by OTG controller drivers, where it helps meet HNP protocol timing requirements for starting a port reset.

Return

0 if successful.

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.