Lines Matching defs:hub
1038 * external hub ports attached to USB devices.'
1837 * port status returned from hub also uses these values.
2081 /* Root Hub */
2986 * The root hub is given its own slot
3040 DPRINTFN(1, "root hub %#jx", (uintptr_t)dev, 0, 0, 0);
3687 struct usbd_device *hub;
3694 /* Locate root hub port and Determine route string */
3696 for (hub = dev; hub != NULL; hub = hub->ud_myhub) {
3699 DPRINTFN(4, "hub %#jx depth %jd upport %#jx upportno %jd",
3700 (uintptr_t)hub, hub->ud_depth, (uintptr_t)hub->ud_powersrc,
3701 hub->ud_powersrc ? (uintptr_t)hub->ud_powersrc->up_portno :
3704 if (hub->ud_powersrc == NULL)
3706 dep = hub->ud_depth;
3709 rhport = hub->ud_powersrc->up_portno;
3718 size_t bn = hub == sc->sc_bus.ub_roothub ? 0 : 1;
3720 /* Locate port on upstream high speed hub */
3721 for (adev = dev, hub = up->up_parent;
3722 hub != NULL && hub->ud_speed != USB_SPEED_HIGH;
3723 adev = hub, hub = hub->ud_myhub)
3725 if (hub) {
3727 for (p = 1; p <= hub->ud_hub->uh_hubdesc.bNbrPorts; p++) {
3728 if (hub->ud_hub->uh_ports[p - 1].up_dev == adev) {
3729 dev->ud_myhsport = &hub->ud_hub->uh_ports[p - 1];
3742 DPRINTFN(4, "rhport %ju ctlrport %ju Route %05jx hub %#jx", rhport,
3743 ctlrport, route, (uintptr_t)hub);
3750 * Setup whether device is hub, whether device uses MTT, and
3770 * This is the slot ID of parent HS hub
3771 * if LS/FS device is connected && connected through HS hub.
3773 * parent hub is not HS hub ||
3774 * attached to root hub.
3776 * This is the downstream facing port of parent HS hub
3779 * parent hub is not HS hub ||
3780 * attached to root hub.
3813 * 1. this is HS hub && MTTs are supported and enabled; or
3814 * 2. this is LS or FS device && there is a parent HS hub where MTTs
4070 * Process root hub request.
4109 totlen = usb_makestrdesc(sd, len, "xHCI root hub");
4118 /* Hub requests */
4353 /* root hub interrupt */