Lines Matching refs:ehci
45 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_ci_portpower() local
46 struct ehci_ci_priv *priv = (struct ehci_ci_priv *)ehci->priv; in ehci_ci_portpower()
50 int port = HCS_N_PORTS(ehci->hcs_params); in ehci_ci_portpower()
111 struct ehci_hcd *ehci; in host_start() local
135 ehci = hcd_to_ehci(hcd); in host_start()
136 ehci->caps = ci->hw_bank.cap; in host_start()
137 ehci->has_hostpc = ci->hw_bank.lpm; in host_start()
138 ehci->has_tdi_phy_lpm = ci->hw_bank.lpm; in host_start()
139 ehci->imx28_write_fix = ci->imx28_write_fix; in host_start()
141 priv = (struct ehci_ci_priv *)ehci->priv; in host_start()
206 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ci_ehci_bus_suspend() local
215 port = HCS_N_PORTS(ehci->hcs_params); in ci_ehci_bus_suspend()
217 u32 __iomem *reg = &ehci->regs->port_status[port]; in ci_ehci_bus_suspend()
218 u32 portsc = ehci_readl(ehci, reg); in ci_ehci_bus_suspend()
231 tmp = ehci_readl(ehci, &ehci->regs->command); in ci_ehci_bus_suspend()
233 ehci_writel(ehci, tmp, &ehci->regs->command); in ci_ehci_bus_suspend()