Lines Matching refs:ehci
23 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_ppc_of_setup() local
26 retval = ehci_halt(ehci); in ehci_ppc_of_setup()
34 ehci->sbrn = 0x20; in ehci_ppc_of_setup()
35 return ehci_reset(ehci); in ehci_ppc_of_setup()
112 struct ehci_hcd *ehci = NULL; in ehci_hcd_ppc_of_probe() local
155 ehci = hcd_to_ehci(hcd); in ehci_hcd_ppc_of_probe()
160 ehci->ohci_hcctrl_reg = ioremap(res.start + in ehci_hcd_ppc_of_probe()
164 if (!ehci->ohci_hcctrl_reg) { in ehci_hcd_ppc_of_probe()
167 ehci->has_amcc_usb23 = 1; in ehci_hcd_ppc_of_probe()
172 ehci->big_endian_mmio = 1; in ehci_hcd_ppc_of_probe()
173 ehci->big_endian_desc = 1; in ehci_hcd_ppc_of_probe()
176 ehci->big_endian_mmio = 1; in ehci_hcd_ppc_of_probe()
178 ehci->big_endian_desc = 1; in ehci_hcd_ppc_of_probe()
180 ehci->caps = hcd->regs; in ehci_hcd_ppc_of_probe()
181 ehci->regs = hcd->regs + in ehci_hcd_ppc_of_probe()
182 HC_LENGTH(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase)); in ehci_hcd_ppc_of_probe()
185 ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params); in ehci_hcd_ppc_of_probe()
189 ehci_dbg(ehci, "Break Memory Transfer (BMT) is %senabled!\n", in ehci_hcd_ppc_of_probe()
200 if (ehci->has_amcc_usb23) in ehci_hcd_ppc_of_probe()
201 iounmap(ehci->ohci_hcctrl_reg); in ehci_hcd_ppc_of_probe()
217 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_hcd_ppc_of_remove() local
235 if (ehci->has_amcc_usb23) { in ehci_hcd_ppc_of_remove()
241 set_ohci_hcfs(ehci, 1); in ehci_hcd_ppc_of_remove()
249 iounmap(ehci->ohci_hcctrl_reg); in ehci_hcd_ppc_of_remove()