Lines Matching refs:ehci
44 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_ci_portpower() local
45 struct ehci_ci_priv *priv = (struct ehci_ci_priv *)ehci->priv; in ehci_ci_portpower()
49 int port = HCS_N_PORTS(ehci->hcs_params); in ehci_ci_portpower()
109 struct ehci_hcd *ehci; in host_start() local
133 ehci = hcd_to_ehci(hcd); in host_start()
134 ehci->caps = ci->hw_bank.cap; in host_start()
135 ehci->has_hostpc = ci->hw_bank.lpm; in host_start()
136 ehci->has_tdi_phy_lpm = ci->hw_bank.lpm; in host_start()
137 ehci->imx28_write_fix = ci->imx28_write_fix; in host_start()
139 priv = (struct ehci_ci_priv *)ehci->priv; in host_start()
204 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ci_ehci_bus_suspend() local
213 port = HCS_N_PORTS(ehci->hcs_params); in ci_ehci_bus_suspend()
215 u32 __iomem *reg = &ehci->regs->port_status[port]; in ci_ehci_bus_suspend()
216 u32 portsc = ehci_readl(ehci, reg); in ci_ehci_bus_suspend()
229 tmp = ehci_readl(ehci, &ehci->regs->command); in ci_ehci_bus_suspend()
231 ehci_writel(ehci, tmp, &ehci->regs->command); in ci_ehci_bus_suspend()