Home
last modified time | relevance | path

Searched refs:parent_hub (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/usb/misc/
H A Donboard_usb_hub_pdevs.c66 void onboard_hub_create_pdevs(struct usb_device *parent_hub, struct list_head *pdev_list) in onboard_hub_create_pdevs() argument
69 struct usb_hcd *hcd = bus_to_hcd(parent_hub->bus); in onboard_hub_create_pdevs()
74 if (!parent_hub->dev.of_node) in onboard_hub_create_pdevs()
77 if (!parent_hub->parent && !usb_hcd_is_primary_hcd(hcd)) in onboard_hub_create_pdevs()
80 for (i = 1; i <= parent_hub->maxchild; i++) { in onboard_hub_create_pdevs()
81 np = usb_of_get_device_node(parent_hub, i); in onboard_hub_create_pdevs()
104 pdev = of_platform_device_create(np, NULL, &parent_hub->dev); in onboard_hub_create_pdevs()
106 dev_err(&parent_hub->dev, in onboard_hub_create_pdevs()
/openbmc/linux/include/linux/usb/
H A Donboard_hub.h10 void onboard_hub_create_pdevs(struct usb_device *parent_hub, struct list_head *pdev_list);
13 static inline void onboard_hub_create_pdevs(struct usb_device *parent_hub, in onboard_hub_create_pdevs() argument
/openbmc/linux/drivers/usb/core/
H A Dport.c666 struct usb_hub *parent_hub = usb_hub_to_struct_hub(parent); in find_and_link_peer() local
668 if (!parent_hub) in find_and_link_peer()
671 upstream = parent_hub->ports[hdev->portnum - 1]; in find_and_link_peer()
H A Dhub.c6061 struct usb_hub *parent_hub; in usb_reset_and_verify_device() local
6078 parent_hub = usb_hub_to_struct_hub(parent_hdev); in usb_reset_and_verify_device()
6091 if (hub_port_stop_enumerate(parent_hub, port1, i)) { in usb_reset_and_verify_device()
6099 ret = hub_port_init(parent_hub, udev, port1, i, &descriptor); in usb_reset_and_verify_device()
6192 hub_port_logical_disconnect(parent_hub, port1); in usb_reset_and_verify_device()