1USB_BUS_START_ENUM(9)        Host Controller APIs        USB_BUS_START_ENUM(9)
2
3
4

NAME

6       usb_bus_start_enum - start immediate enumeration (for OTG)
7

SYNOPSIS

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

ARGUMENTS

12       bus
13           the bus (must use hcd framework)
14
15       port_num
16           1-based number of port; usually bus->otg_port
17

CONTEXT

19       in_interrupt
20

DESCRIPTION

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

RETURN

28       0 if successful.
29
31Kernel Hackers Manual 3.10         June 2019             USB_BUS_START_ENUM(9)
Impressum