Searched refs:parent_hub (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/usb/misc/ |
H A D | onboard_usb_dev_pdevs.c | 67 void onboard_dev_create_pdevs(struct usb_device *parent_hub, struct list_head *pdev_list) in onboard_dev_create_pdevs() argument 70 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()
|
/linux/drivers/usb/core/ |
H A D | port.c | 667 struct usb_hub *parent_hub = usb_hub_to_struct_hub(parent); in find_and_link_peer() local 669 if (!parent_hub) in find_and_link_peer() 672 upstream = parent_hub->ports[hdev->portnum - 1]; in find_and_link_peer()
|
H A D | hub.c | 6093 struct usb_hub *parent_hub; in usb_reset_and_verify_device() local 6110 parent_hub = usb_hub_to_struct_hub(parent_hdev); in usb_reset_and_verify_device() 6123 if (hub_port_stop_enumerate(parent_hub, port1, i)) { in usb_reset_and_verify_device() 6131 ret = hub_port_init(parent_hub, udev, port1, i, &descriptor); in usb_reset_and_verify_device() 6224 hub_port_logical_disconnect(parent_hub, port1); in usb_reset_and_verify_device()
|