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()
48 int port = HCS_N_PORTS(ehci->hcs_params); in ehci_ci_portpower()
83 struct ehci_hcd *ehci; in host_start() local
107 ehci = hcd_to_ehci(hcd); in host_start()
108 ehci->caps = ci->hw_bank.cap; in host_start()
109 ehci->has_hostpc = ci->hw_bank.lpm; in host_start()
110 ehci->has_tdi_phy_lpm = ci->hw_bank.lpm; in host_start()
111 ehci->imx28_write_fix = ci->imx28_write_fix; in host_start()
113 priv = (struct ehci_ci_priv *)ehci->priv; in host_start()
184 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ci_ehci_bus_suspend() local
193 port = HCS_N_PORTS(ehci->hcs_params); in ci_ehci_bus_suspend()
195 u32 __iomem *reg = &ehci->regs->port_status[port]; in ci_ehci_bus_suspend()
196 u32 portsc = ehci_readl(ehci, reg); in ci_ehci_bus_suspend()
209 tmp = ehci_readl(ehci, &ehci->regs->command); in ci_ehci_bus_suspend()
211 ehci_writel(ehci, tmp, &ehci->regs->command); in ci_ehci_bus_suspend()