hub 82 dev/usb/uhub.c usbd_status uhub_explore(usbd_device_handle hub);
hub 137 dev/usb/uhub.c struct usbd_hub *hub = NULL;
hub 206 dev/usb/uhub.c hub = malloc(sizeof(*hub) + (nports-1) * sizeof(struct usbd_port),
hub 208 dev/usb/uhub.c if (hub == NULL)
hub 210 dev/usb/uhub.c dev->hub = hub;
hub 211 dev/usb/uhub.c dev->hub->hubsoftc = sc;
hub 212 dev/usb/uhub.c hub->explore = uhub_explore;
hub 213 dev/usb/uhub.c hub->hubdesc = hubdesc;
hub 291 dev/usb/uhub.c struct usbd_port *up = &hub->ports[p];
hub 304 dev/usb/uhub.c up->tt->hub = hub;
hub 312 dev/usb/uhub.c pwrdly = dev->hub->hubdesc.bPwrOn2PwrGood * UHD_PWRON_FACTOR
hub 335 dev/usb/uhub.c if (hub)
hub 336 dev/usb/uhub.c free(hub, M_USBDEV);
hub 337 dev/usb/uhub.c dev->hub = NULL;
hub 343 dev/usb/uhub.c usb_hub_descriptor_t *hd = &dev->hub->hubdesc;
hub 344 dev/usb/uhub.c struct uhub_softc *sc = dev->hub->hubsoftc;
hub 361 dev/usb/uhub.c up = &dev->hub->ports[port-1];
hub 402 dev/usb/uhub.c if (up->device != NULL && up->device->hub != NULL)
hub 403 dev/usb/uhub.c up->device->hub->explore(up->device);
hub 504 dev/usb/uhub.c if (up->device->hub)
hub 505 dev/usb/uhub.c up->device->hub->explore(up->device);
hub 515 dev/usb/uhub.c struct usbd_hub *hub = sc->sc_hub->hub;
hub 524 dev/usb/uhub.c if (hub == NULL) /* malfunctioning hub */
hub 526 dev/usb/uhub.c nports = hub->hubdesc.bNbrPorts;
hub 528 dev/usb/uhub.c dev = hub->ports[port].device;
hub 547 dev/usb/uhub.c struct usbd_hub *hub = sc->sc_hub->hub;
hub 553 dev/usb/uhub.c if (hub == NULL) /* Must be partially working */
hub 559 dev/usb/uhub.c nports = hub->hubdesc.bNbrPorts;
hub 561 dev/usb/uhub.c rup = &hub->ports[port];
hub 569 dev/usb/uhub.c if (hub->ports[0].tt)
hub 570 dev/usb/uhub.c free(hub->ports[0].tt, M_USBDEV);
hub 571 dev/usb/uhub.c free(hub, M_USBDEV);
hub 572 dev/usb/uhub.c sc->sc_hub->hub = NULL;
hub 213 dev/usb/usb.c if (dev->hub == NULL) {
hub 227 dev/usb/usb.c dev->hub->explore(sc->sc_bus->root_hub);
hub 308 dev/usb/usb.c pwrdly = sc->sc_bus->root_hub->hub->hubdesc.bPwrOn2PwrGood *
hub 680 dev/usb/usb.c sc->sc_bus->root_hub->hub->explore(sc->sc_bus->root_hub);
hub 961 dev/usb/usb_subr.c struct usbd_device *hub;
hub 1005 dev/usb/usb_subr.c for (adev = dev, hub = up->parent;
hub 1006 dev/usb/usb_subr.c hub != NULL && hub->speed != USB_SPEED_HIGH;
hub 1007 dev/usb/usb_subr.c adev = hub, hub = hub->myhub)
hub 1009 dev/usb/usb_subr.c if (hub) {
hub 1010 dev/usb/usb_subr.c for (p = 0; p < hub->hub->hubdesc.bNbrPorts; p++) {
hub 1011 dev/usb/usb_subr.c if (hub->hub->ports[p].device == adev) {
hub 1012 dev/usb/usb_subr.c dev->myhsport = &hub->hub->ports[p];
hub 1275 dev/usb/usb_subr.c if (dev->hub) {
hub 1278 dev/usb/usb_subr.c i < dev->hub->hubdesc.bNbrPorts; i++) {
hub 1279 dev/usb/usb_subr.c p = &dev->hub->ports[i];
hub 1295 dev/usb/usb_subr.c di->udi_nports = dev->hub->hubdesc.bNbrPorts;
hub 79 dev/usb/usbdivar.h struct usbd_hub *hub;
hub 95 dev/usb/usbdivar.h usbd_status (*explore)(usbd_device_handle hub);
hub 154 dev/usb/usbdivar.h struct usbd_hub *hub; /* only if this is a hub */