Lines Matching full:hub
16 #include "hub.h"
21 * @hdev: USB device belonging to the usb hub
45 * @hdev: USB device belonging to the usb hub
104 * @hdev: USB device belonging to the usb hub
115 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); in usb_acpi_set_power_state() local
122 if (!hub) in usb_acpi_set_power_state()
124 port_dev = hub->ports[port1 - 1]; in usb_acpi_set_power_state()
196 /* Get the struct usb_device point of port's hub */ in usb_acpi_get_companion_for_port()
200 * The root hub ports' parent is the root hub. The non-root-hub in usb_acpi_get_companion_for_port()
201 * ports' parent is the parent hub port which the hub is in usb_acpi_get_companion_for_port()
250 struct usb_hub *hub; in usb_acpi_find_companion_for_device() local
254 * root hub is only child (_ADR=0) under its parent, the HC. in usb_acpi_find_companion_for_device()
261 hub = usb_hub_to_struct_hub(udev->parent); in usb_acpi_find_companion_for_device()
262 if (!hub) in usb_acpi_find_companion_for_device()
269 port_dev = hub->ports[udev->portnum - 1]; in usb_acpi_find_companion_for_device()
287 * where HUBN is root hub, and PRNN are USB ports and devices in usb_acpi_find_companion()
293 * On the kernel side both root hub and embedded USB devices are in usb_acpi_find_companion()