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);
122 if (!hub)
124 port_dev = hub->ports[port1 - 1];
162 struct usb_hub *hub;
167 hub = usb_hub_to_struct_hub(udev->parent);
168 if (!hub)
170 port_dev = hub->ports[udev->portnum - 1];
256 /* Get the struct usb_device point of port's hub */
260 * The root hub ports' parent is the root hub. The non-root-hub
261 * ports' parent is the parent hub port which the hub is
300 struct usb_hub *hub;
304 * root hub is only child (_ADR=0) under its parent, the HC.
311 hub = usb_hub_to_struct_hub(udev->parent);
312 if (!hub)
325 port_dev = hub->ports[udev->portnum - 1];
343 * where HUBN is root hub, and PRNN are USB ports and devices
349 * On the kernel side both root hub and embedded USB devices are