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

NAME

6       usb_create_hcd - create and initialize an HCD structure
7

SYNOPSIS

9       struct usb_hcd * usb_create_hcd(const struct hc_driver * driver,
10                                       struct device * dev,
11                                       const char * bus_name);
12

ARGUMENTS

14       driver
15           HC driver that will use this hcd
16
17       dev
18           device for this HC, stored in hcd->self.controller
19
20       bus_name
21           value to store in hcd->self.bus_name
22

CONTEXT

24       !in_interrupt
25

DESCRIPTION

27       Allocate a struct usb_hcd, with extra space at the end for the HC
28       driverĀ“s private data. Initialize the generic members of the hcd
29       structure.
30
31       If memory is unavailable, returns NULL.
32
34Kernel Hackers Manual 2.6.         June 2019                 USB_CREATE_HCD(9)
Impressum