usb_bus_start_enum (9) - Linux Manuals
usb_bus_start_enum: start immediate enumeration (for OTG)
NAME
usb_bus_start_enum - start immediate enumeration (for OTG)
SYNOPSIS
-
int usb_bus_start_enum(struct usb_bus
* bus, unsignedport_num);
ARGUMENTS
bus
-
- the bus (must use hcd framework)
port_num
- 1-based number of port; usually bus->otg_port
CONTEXT
DESCRIPTION
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
COPYRIGHT