Lines Matching full:hub
16 #include "hub.h"
21 * @hdev: USB device belonging to the usb hub
43 * @hdev: USB device belonging to the usb hub
54 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); in usb_acpi_set_power_state() local
61 if (!hub) in usb_acpi_set_power_state()
63 port_dev = hub->ports[port1 - 1]; in usb_acpi_set_power_state()
135 /* Get the struct usb_device point of port's hub */ in usb_acpi_get_companion_for_port()
139 * The root hub ports' parent is the root hub. The non-root-hub in usb_acpi_get_companion_for_port()
140 * ports' parent is the parent hub port which the hub is in usb_acpi_get_companion_for_port()
189 struct usb_hub *hub; in usb_acpi_find_companion_for_device() local
193 * root hub is only child (_ADR=0) under its parent, the HC. in usb_acpi_find_companion_for_device()
200 hub = usb_hub_to_struct_hub(udev->parent); in usb_acpi_find_companion_for_device()
201 if (!hub) in usb_acpi_find_companion_for_device()
208 port_dev = hub->ports[udev->portnum - 1]; in usb_acpi_find_companion_for_device()
226 * where HUBN is root hub, and PRNN are USB ports and devices in usb_acpi_find_companion()
232 * On the kernel side both root hub and embedded USB devices are in usb_acpi_find_companion()