Lines Matching refs:status_reg
72 u32 __iomem *status_reg; in tegra_ehci_hub_control() local
77 status_reg = &ehci->regs->port_status[(wIndex & 0xff) - 1]; in tegra_ehci_hub_control()
87 temp = ehci_readl(ehci, status_reg) & ~PORT_RWC_BITS; in tegra_ehci_hub_control()
88 ehci_writel(ehci, temp & ~PORT_PE, status_reg); in tegra_ehci_hub_control()
93 temp = ehci_readl(ehci, status_reg); in tegra_ehci_hub_control()
102 temp = ehci_readl(ehci, status_reg); in tegra_ehci_hub_control()
110 ehci_writel(ehci, temp | PORT_SUSPEND, status_reg); in tegra_ehci_hub_control()
116 if (handshake(ehci, status_reg, PORT_SUSPEND, in tegra_ehci_hub_control()
133 temp = ehci_readl(ehci, status_reg); in tegra_ehci_hub_control()
149 ehci_writel(ehci, temp | PORT_RESUME, status_reg); in tegra_ehci_hub_control()
156 if (handshake(ehci, status_reg, PORT_RESUME, 0, 2000)) in tegra_ehci_hub_control()
158 if (handshake(ehci, status_reg, PORT_SUSPEND, 0, 2000)) in tegra_ehci_hub_control()