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()
162 struct usb_hub *hub; in usb_acpi_add_usb4_devlink() local
167 hub = usb_hub_to_struct_hub(udev->parent); in usb_acpi_add_usb4_devlink()
168 port_dev = hub->ports[udev->portnum - 1]; in usb_acpi_add_usb4_devlink()
253 /* Get the struct usb_device point of port's hub */ in usb_acpi_get_companion_for_port()
257 * The root hub ports' parent is the root hub. The non-root-hub in usb_acpi_get_companion_for_port()
258 * ports' parent is the parent hub port which the hub is in usb_acpi_get_companion_for_port()
297 struct usb_hub *hub; in usb_acpi_find_companion_for_device() local
301 * root hub is only child (_ADR=0) under its parent, the HC. in usb_acpi_find_companion_for_device()
308 hub = usb_hub_to_struct_hub(udev->parent); in usb_acpi_find_companion_for_device()
309 if (!hub) in usb_acpi_find_companion_for_device()
322 port_dev = hub->ports[udev->portnum - 1]; in usb_acpi_find_companion_for_device()
340 * where HUBN is root hub, and PRNN are USB ports and devices in usb_acpi_find_companion()
346 * On the kernel side both root hub and embedded USB devices are in usb_acpi_find_companion()