Lines Matching refs:rhub
370 struct xhci_hub *rhub; in compliance_mode_recovery() local
375 rhub = &xhci->usb3_rhub; in compliance_mode_recovery()
376 hcd = rhub->hcd; in compliance_mode_recovery()
381 for (i = 0; i < rhub->num_ports; i++) { in compliance_mode_recovery()
382 temp = readl(rhub->ports[i]->addr); in compliance_mode_recovery()
401 if (xhci->port_status_u0 != ((1 << rhub->num_ports) - 1)) in compliance_mode_recovery()
818 struct xhci_hub *rhub, in xhci_disable_hub_port_wake() argument
827 for (i = 0; i < rhub->num_ports; i++) { in xhci_disable_hub_port_wake()
828 portsc = readl(rhub->ports[i]->addr); in xhci_disable_hub_port_wake()
841 writel(t2, rhub->ports[i]->addr); in xhci_disable_hub_port_wake()
843 rhub->hcd->self.busnum, i + 1, portsc, t2); in xhci_disable_hub_port_wake()
4287 struct xhci_hub *rhub; in xhci_find_raw_port_number() local
4289 rhub = xhci_get_rhub(hcd); in xhci_find_raw_port_number()
4290 return rhub->ports[port1 - 1]->hw_portnum + 1; in xhci_find_raw_port_number()