Lines Matching refs:hub
39 struct usb_hub_descriptor hub; member
964 srcptr = &ctrl->hub; in xhci_submit_root()
1225 descriptor.hub.bNbrPorts = ((reg & HCS_MAX_PORTS_MASK) >> in xhci_lowlevel_init()
1227 printf("Register %x NbrPorts %d\n", reg, descriptor.hub.bNbrPorts); in xhci_lowlevel_init()
1232 put_unaligned(get_unaligned(&descriptor.hub.wHubCharacteristics) in xhci_lowlevel_init()
1233 | 0x80, &descriptor.hub.wHubCharacteristics); in xhci_lowlevel_init()
1237 put_unaligned(get_unaligned(&descriptor.hub.wHubCharacteristics) in xhci_lowlevel_init()
1238 | 0x01, &descriptor.hub.wHubCharacteristics); in xhci_lowlevel_init()
1240 memcpy(&ctrl->hub, &descriptor, sizeof(struct usb_hub_descriptor)); in xhci_lowlevel_init()
1366 struct udevice *hub; in xhci_submit_control_msg() local
1371 hub = udev->dev; in xhci_submit_control_msg()
1372 if (device_get_uclass_id(hub) == UCLASS_USB_HUB) { in xhci_submit_control_msg()
1374 if (usb_hub_is_root_hub(hub)) { in xhci_submit_control_msg()
1377 while (!usb_hub_is_root_hub(hub->parent)) in xhci_submit_control_msg()
1378 hub = hub->parent; in xhci_submit_control_msg()
1379 uhop = dev_get_parent_priv(hub); in xhci_submit_control_msg()
1419 struct usb_hub_device *hub = dev_get_uclass_priv(udev->dev); in xhci_update_hub_device() local
1458 if (hub->tt.multi) in xhci_update_hub_device()
1472 think_time = hub->tt.think_time; in xhci_update_hub_device()