Searched refs:parent_hub (Results 1 – 3 of 3) sorted by relevance
67 void onboard_dev_create_pdevs(struct usb_device *parent_hub, struct list_head *pdev_list) in onboard_dev_create_pdevs() argument70 struct usb_hcd *hcd = bus_to_hcd(parent_hub->bus); in onboard_dev_create_pdevs()75 if (!parent_hub->dev.of_node) in onboard_dev_create_pdevs()78 if (!parent_hub->parent && !usb_hcd_is_primary_hcd(hcd)) in onboard_dev_create_pdevs()81 for (i = 1; i <= parent_hub->maxchild; i++) { in onboard_dev_create_pdevs()82 np = usb_of_get_device_node(parent_hub, i); in onboard_dev_create_pdevs()105 pdev = of_platform_device_create(np, NULL, &parent_hub->dev); in onboard_dev_create_pdevs()107 dev_err(&parent_hub->dev, in onboard_dev_create_pdevs()
685 struct usb_hub *parent_hub = usb_hub_to_struct_hub(parent); in find_and_link_peer() local687 if (!parent_hub) in find_and_link_peer()690 upstream = parent_hub->ports[hdev->portnum - 1]; in find_and_link_peer()