Lines Matching defs:hub
1016 * external hub ports attached to USB devices.'
1802 * port status returned from hub also uses these values.
2950 * The root hub is given its own slot
3004 DPRINTFN(1, "root hub %#jx", (uintptr_t)dev, 0, 0, 0);
3650 struct usbd_device *hub;
3657 /* Locate root hub port and Determine route string */
3659 for (hub = dev; hub != NULL; hub = hub->ud_myhub) {
3662 DPRINTFN(4, "hub %#jx depth %jd upport %#jx upportno %jd",
3663 (uintptr_t)hub, hub->ud_depth, (uintptr_t)hub->ud_powersrc,
3664 hub->ud_powersrc ? (uintptr_t)hub->ud_powersrc->up_portno :
3667 if (hub->ud_powersrc == NULL)
3669 dep = hub->ud_depth;
3672 rhport = hub->ud_powersrc->up_portno;
3681 size_t bn = hub == sc->sc_bus.ub_roothub ? 0 : 1;
3683 /* Locate port on upstream high speed hub */
3684 for (adev = dev, hub = up->up_parent;
3685 hub != NULL && hub->ud_speed != USB_SPEED_HIGH;
3686 adev = hub, hub = hub->ud_myhub)
3688 if (hub) {
3690 for (p = 1; p <= hub->ud_hub->uh_hubdesc.bNbrPorts; p++) {
3691 if (hub->ud_hub->uh_ports[p - 1].up_dev == adev) {
3692 dev->ud_myhsport = &hub->ud_hub->uh_ports[p - 1];
3705 DPRINTFN(4, "rhport %ju ctlrport %ju Route %05jx hub %#jx", rhport,
3706 ctlrport, route, (uintptr_t)hub);
3713 * Setup whether device is hub, whether device uses MTT, and
3733 * This is the slot ID of parent HS hub
3734 * if LS/FS device is connected && connected through HS hub.
3736 * parent hub is not HS hub ||
3737 * attached to root hub.
3739 * This is the downstream facing port of parent HS hub
3742 * parent hub is not HS hub ||
3743 * attached to root hub.
3776 * 1. this is HS hub && MTTs are supported and enabled; or
3777 * 2. this is LS or FS device && there is a parent HS hub where MTTs
4032 * Process root hub request.
4071 totlen = usb_makestrdesc(sd, len, "xHCI root hub");
4315 /* root hub interrupt */