Lines Matching refs:ehci

14 #include "ehci.h"
19 static const char hcd_name[] = "ehci-pci";
63 static int ehci_pci_reinit(struct ehci_hcd *ehci, struct pci_dev *pdev)
74 ehci_dbg(ehci, "MWI active\n");
82 ehci_writel(ehci, INTEL_QUARK_X1000_EHCI_MAX_THRESHOLD,
83 ehci->regs->intel_quark_x1000_insnreg01);
92 struct ehci_hcd *ehci = hcd_to_ehci(hcd);
97 ehci->caps = hcd->regs;
113 ehci->big_endian_mmio = 1;
115 ehci_warn(ehci,
131 ehci_warn(ehci, "can't enable NVidia "
140 ehci->no_selective_suspend = 1;
155 ehci->amd_pll_fix = 1;
158 ehci_info(ehci, "ignoring AMD8111 (errata)\n");
171 ehci->use_dummy_qh = 1;
172 ehci_info(ehci, "applying AMD SB700/SB800/Hudson-2/3 EHCI dummy qh workaround\n");
192 ehci->amd_pll_fix = 1;
202 ehci->use_dummy_qh = 1;
203 ehci_info(ehci, "applying AMD SB700/SB800/Hudson-2/3 EHCI dummy qh workaround\n");
211 ehci_info(ehci, "applying AMD SB600/SB700 USB freeze workaround\n");
218 ehci_info(ehci, "applying MosChip frame-index workaround\n");
219 ehci->frame_index_bug = 1;
224 ehci_info(ehci, "applying Synopsys HC workaround\n");
225 ehci->has_synopsys_hc_bug = 1;
230 ehci_info(ehci, "applying Aspeed HC workaround\n");
231 ehci->is_aspeed = 1;
236 ehci->zx_wakeup_clear_needed = 1;
246 u32 hcs_params = ehci_readl(ehci,
247 &ehci->caps->hcs_params);
250 ehci->debug = hcd->regs + temp;
251 temp = ehci_readl(ehci, &ehci->debug->control);
252 ehci_info(ehci, "debug port %d%s\n",
256 ehci->debug = NULL;
269 ehci->need_io_watchdog = 0;
279 ehci_info(ehci, "disable ppcd for nvidia mcp89\n");
280 ehci->has_ppcd = 0;
281 ehci->command &= ~CMD_PPCEE;
288 temp = HCS_N_CC(ehci->hcs_params) * HCS_N_PCC(ehci->hcs_params);
290 if (temp && HCS_N_PORTS(ehci->hcs_params) > temp) {
291 ehci_dbg(ehci, "bogus port configuration: "
293 HCS_N_CC(ehci->hcs_params),
294 HCS_N_PCC(ehci->hcs_params),
295 HCS_N_PORTS(ehci->hcs_params));
300 temp |= (ehci->hcs_params & ~0xf);
301 ehci->hcs_params = temp;
317 pci_read_config_byte(pdev, 0x60, &ehci->sbrn);
335 if (ehci->no_selective_suspend && device_can_wakeup(&pdev->dev))
336 ehci_warn(ehci, "selective suspend/wakeup unavailable\n");
339 retval = ehci_pci_reinit(ehci, pdev);
359 struct ehci_hcd *ehci = hcd_to_ehci(hcd);
364 (void) ehci_pci_reinit(ehci, pdev);