1USB_CREATE_SHARED_HC(9) Host Controller APIs USB_CREATE_SHARED_HC(9)
2
3
4
6 usb_create_shared_hcd - create and initialize an HCD structure
7
9 struct usb_hcd * usb_create_shared_hcd(const struct hc_driver * driver,
10 struct device * dev,
11 const char * bus_name,
12 struct usb_hcd * primary_hcd);
13
15 driver
16 HC driver that will use this hcd
17
18 dev
19 device for this HC, stored in hcd->self.controller
20
21 bus_name
22 value to store in hcd->self.bus_name
23
24 primary_hcd
25 a pointer to the usb_hcd structure that is sharing the PCI device.
26 Only allocate certain resources for the primary HCD
27
29 !in_interrupt
30
32 Allocate a struct usb_hcd, with extra space at the end for the HC
33 driverĀ“s private data. Initialize the generic members of the hcd
34 structure.
35
36 If memory is unavailable, returns NULL.
37
39Kernel Hackers Manual 2.6. June 2019 USB_CREATE_SHARED_HC(9)