Searched refs:rhub (Results 1 – 6 of 6) sorted by relevance
287 struct xhci_hub *rhub; in xhci_usb2_hub_descriptor() local289 rhub = &xhci->usb2_rhub; in xhci_usb2_hub_descriptor()290 ports = rhub->num_ports; in xhci_usb2_hub_descriptor()302 portsc = readl(rhub->ports[i]->addr); in xhci_usb2_hub_descriptor()341 struct xhci_hub *rhub; in xhci_usb3_hub_descriptor() local343 rhub = &xhci->usb3_rhub; in xhci_usb3_hub_descriptor()344 ports = rhub->num_ports; in xhci_usb3_hub_descriptor()359 portsc = readl(rhub->ports[i]->addr); in xhci_usb3_hub_descriptor()555 hcd = port->rhub->hcd; in xhci_disable_port()652 hcd = port->rhub->hcd; in xhci_set_port_power()[all …]
1045 struct xhci_hub *rhub; in xhci_find_rhub_port() local1057 rhub = xhci_get_rhub(hcd); in xhci_find_rhub_port()1058 return rhub->ports[top_dev->portnum - 1]; in xhci_find_rhub_port()1984 struct xhci_hub *rhub; in xhci_add_in_port() local1993 rhub = &xhci->usb3_rhub; in xhci_add_in_port()2013 rhub = &xhci->usb2_rhub; in xhci_add_in_port()2072 rhub->maj_rev = major_revision; in xhci_add_in_port()2074 if (rhub->min_rev < minor_revision) in xhci_add_in_port()2075 rhub->min_rev = minor_revision; in xhci_add_in_port()2092 if (hw_port->rhub) { in xhci_add_in_port()[all …]
510 struct xhci_hub *rhub = &xhci->usb3_rhub; in xhci_find_lpm_incapable_ports() local515 if (hcd != rhub->hcd) in xhci_find_lpm_incapable_ports()518 if (hdev->maxchild > rhub->num_ports) { in xhci_find_lpm_incapable_ports()529 rhub->ports[i]->lpm_incapable = ret; in xhci_find_lpm_incapable_ports()874 port->slot_id, port->rhub->hcd->self.busnum, in xhci_pci_poweroff_late()886 port->rhub->hcd->self.busnum, port->hcd_portnum + 1); in xhci_pci_poweroff_late()
372 struct xhci_hub *rhub; in compliance_mode_recovery() local377 rhub = &xhci->usb3_rhub; in compliance_mode_recovery()378 hcd = rhub->hcd; in compliance_mode_recovery()383 for (i = 0; i < rhub->num_ports; i++) { in compliance_mode_recovery()384 temp = readl(rhub->ports[i]->addr); in compliance_mode_recovery()403 if (xhci->port_status_u0 != ((1 << rhub->num_ports) - 1)) in compliance_mode_recovery()811 struct xhci_hub *rhub, in xhci_disable_hub_port_wake() argument820 for (i = 0; i < rhub->num_ports; i++) { in xhci_disable_hub_port_wake()821 portsc = readl(rhub->ports[i]->addr); in xhci_disable_hub_port_wake()834 writel(t2, rhub->ports[i]->addr); in xhci_disable_hub_port_wake()[all …]
1974 if (!port || !port->rhub || port->hcd_portnum == DUPLICATE_ENTRY) { in handle_port_status()1982 if (port->rhub == &xhci->usb3_rhub && xhci->shared_hcd == NULL) { in handle_port_status()1988 hcd = port->rhub->hcd; in handle_port_status()1989 bus_state = &port->rhub->bus_state; in handle_port_status()
1471 struct xhci_hub *rhub; member