usb_create_shared_hcd - create and initialize an HCD structure
2. SYNOPSIS ▲
struct usb_hcd * usb_create_shared_hcd(const struct hc_driver * driver , struct device * dev , const char * bus_name , struct usb_hcd * primary_hcd );
3. ARGUMENTS ▲
HC driver that will use this hcd
device for this HC, stored in hcd->self.controller
value to store in hcd->self.bus_name
a pointer to the usb_hcd structure that is sharing the PCI device. Only allocate certain resources for the primary HCD
4. CONTEXT ▲
5. DESCRIPTION ▲
Allocate a struct usb_hcd, with extra space at the end for the HC driverAqs private data. Initialize the generic members of the hcd structure.
If memory is unavailable, returns NULL.
6. COPYRIGHT ▲