Lines Matching refs:rhub
483 struct xhci_hub *rhub; in compliance_mode_recovery() local
488 rhub = &xhci->usb3_rhub; in compliance_mode_recovery()
490 for (i = 0; i < rhub->num_ports; i++) { in compliance_mode_recovery()
491 temp = readl(rhub->ports[i]->addr); in compliance_mode_recovery()
511 if (xhci->port_status_u0 != ((1 << rhub->num_ports) - 1)) in compliance_mode_recovery()
900 struct xhci_hub *rhub, in xhci_disable_hub_port_wake() argument
909 for (i = 0; i < rhub->num_ports; i++) { in xhci_disable_hub_port_wake()
910 portsc = readl(rhub->ports[i]->addr); in xhci_disable_hub_port_wake()
923 writel(t2, rhub->ports[i]->addr); in xhci_disable_hub_port_wake()
925 rhub->hcd->self.busnum, i + 1, portsc, t2); in xhci_disable_hub_port_wake()
4286 struct xhci_hub *rhub; in xhci_find_raw_port_number() local
4288 rhub = xhci_get_rhub(hcd); in xhci_find_raw_port_number()
4289 return rhub->ports[port1 - 1]->hw_portnum + 1; in xhci_find_raw_port_number()