Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/usb/misc/
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()
/linux-6.1.9/include/linux/usb/
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
/linux-6.1.9/drivers/usb/core/
Dport.c590 struct usb_hub *parent_hub = usb_hub_to_struct_hub(parent); in find_and_link_peer() local
592 if (!parent_hub) in find_and_link_peer()
595 upstream = parent_hub->ports[hdev->portnum - 1]; in find_and_link_peer()
Dhub.c5913 struct usb_hub *parent_hub; in usb_reset_and_verify_device() local
5930 parent_hub = usb_hub_to_struct_hub(parent_hdev); in usb_reset_and_verify_device()
5947 ret = hub_port_init(parent_hub, udev, port1, i); in usb_reset_and_verify_device()
6041 hub_port_logical_disconnect(parent_hub, port1); in usb_reset_and_verify_device()