Lines Matching defs:ehci

3  * Generic platform ehci driver
39 #include "ehci.h"
60 struct ehci_hcd *ehci = hcd_to_ehci(hcd);
63 ehci->has_synopsys_hc_bug = pdata->has_synopsys_hc_bug;
71 ehci->caps = hcd->regs + pdata->caps_offset;
77 ehci->need_io_watchdog = 0;
79 if (of_device_is_compatible(pdev->dev.of_node, "brcm,xgs-iproc-ehci"))
80 ehci_writel(ehci, BCM_USB_FIFO_THRESHOLD,
81 &ehci->regs->brcm_insnreg[1]);
133 * @ehci: the ehci hcd pointer
142 static bool quirk_poll_check_port_status(struct ehci_hcd *ehci)
144 u32 port_status = ehci_readl(ehci, &ehci->regs->port_status[0]);
157 * @ehci: the ehci hcd pointer
164 static void quirk_poll_rebind_companion(struct ehci_hcd *ehci)
167 struct usb_hcd *hcd = ehci_to_hcd(ehci);
175 ehci_err(ehci, "%s: failed\n", __func__);
185 struct ehci_hcd *ehci = container_of((void *)priv, struct ehci_hcd,
189 if (!quirk_poll_check_port_status(ehci))
192 if (!quirk_poll_check_port_status(ehci))
195 ehci_dbg(ehci, "%s: detected getting stuck. rebind now!\n", __func__);
196 quirk_poll_rebind_companion(ehci);
202 struct ehci_hcd *ehci = container_of((void *)priv, struct ehci_hcd,
205 if (quirk_poll_check_port_status(ehci)) {
242 struct ehci_hcd *ehci;
274 ehci = hcd_to_ehci(hcd);
278 ehci->big_endian_mmio = 1;
281 ehci->big_endian_desc = 1;
284 ehci->big_endian_mmio = ehci->big_endian_desc = 1;
287 ehci->spurious_oc = 1;
298 "aspeed,ast2500-ehci") ||
300 "aspeed,ast2600-ehci"))
301 ehci->is_aspeed = 1;
329 ehci->big_endian_desc = 1;
331 ehci->big_endian_mmio = 1;
337 ehci->spurious_oc = 1;
340 if (ehci->big_endian_mmio) {
348 if (ehci->big_endian_desc) {
483 { .compatible = "via,vt8500-ehci", },
484 { .compatible = "wm,prizm-ehci", },
485 { .compatible = "generic-ehci", },
486 { .compatible = "cavium,octeon-6335-ehci", },
500 { "ehci-platform", 0 },
514 .name = "ehci-platform",