• Home
  • Raw
  • Download

Lines Matching refs:ehci

73 static int ehci_pci_reinit(struct ehci_hcd *ehci, struct pci_dev *pdev)  in ehci_pci_reinit()  argument
84 ehci_dbg(ehci, "MWI active\n"); in ehci_pci_reinit()
92 ehci_writel(ehci, INTEL_QUARK_X1000_EHCI_MAX_THRESHOLD, in ehci_pci_reinit()
93 ehci->regs->intel_quark_x1000_insnreg01); in ehci_pci_reinit()
102 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_pci_setup() local
107 ehci->caps = hcd->regs; in ehci_pci_setup()
123 ehci->big_endian_mmio = 1; in ehci_pci_setup()
125 ehci_warn(ehci, in ehci_pci_setup()
142 ehci_warn(ehci, "can't enable NVidia " in ehci_pci_setup()
151 ehci->no_selective_suspend = 1; in ehci_pci_setup()
166 ehci->amd_pll_fix = 1; in ehci_pci_setup()
169 ehci_info(ehci, "ignoring AMD8111 (errata)\n"); in ehci_pci_setup()
182 ehci->use_dummy_qh = 1; in ehci_pci_setup()
183 ehci_info(ehci, "applying AMD SB700/SB800/Hudson-2/3 EHCI dummy qh workaround\n"); in ehci_pci_setup()
203 ehci->amd_pll_fix = 1; in ehci_pci_setup()
213 ehci->use_dummy_qh = 1; in ehci_pci_setup()
214 ehci_info(ehci, "applying AMD SB700/SB800/Hudson-2/3 EHCI dummy qh workaround\n"); in ehci_pci_setup()
222 ehci_info(ehci, "applying AMD SB600/SB700 USB freeze workaround\n"); in ehci_pci_setup()
229 ehci_info(ehci, "applying MosChip frame-index workaround\n"); in ehci_pci_setup()
230 ehci->frame_index_bug = 1; in ehci_pci_setup()
235 ehci_info(ehci, "applying Synopsys HC workaround\n"); in ehci_pci_setup()
236 ehci->has_synopsys_hc_bug = 1; in ehci_pci_setup()
247 u32 hcs_params = ehci_readl(ehci, in ehci_pci_setup()
248 &ehci->caps->hcs_params); in ehci_pci_setup()
251 ehci->debug = hcd->regs + temp; in ehci_pci_setup()
252 temp = ehci_readl(ehci, &ehci->debug->control); in ehci_pci_setup()
253 ehci_info(ehci, "debug port %d%s\n", in ehci_pci_setup()
257 ehci->debug = NULL; in ehci_pci_setup()
268 ehci->need_io_watchdog = 0; in ehci_pci_setup()
271 ehci->need_io_watchdog = 0; in ehci_pci_setup()
281 ehci_info(ehci, "disable ppcd for nvidia mcp89\n"); in ehci_pci_setup()
282 ehci->has_ppcd = 0; in ehci_pci_setup()
283 ehci->command &= ~CMD_PPCEE; in ehci_pci_setup()
290 temp = HCS_N_CC(ehci->hcs_params) * HCS_N_PCC(ehci->hcs_params); in ehci_pci_setup()
292 if (temp && HCS_N_PORTS(ehci->hcs_params) > temp) { in ehci_pci_setup()
293 ehci_dbg(ehci, "bogus port configuration: " in ehci_pci_setup()
295 HCS_N_CC(ehci->hcs_params), in ehci_pci_setup()
296 HCS_N_PCC(ehci->hcs_params), in ehci_pci_setup()
297 HCS_N_PORTS(ehci->hcs_params)); in ehci_pci_setup()
302 temp |= (ehci->hcs_params & ~0xf); in ehci_pci_setup()
303 ehci->hcs_params = temp; in ehci_pci_setup()
319 pci_read_config_byte(pdev, 0x60, &ehci->sbrn); in ehci_pci_setup()
337 if (ehci->no_selective_suspend && device_can_wakeup(&pdev->dev)) in ehci_pci_setup()
338 ehci_warn(ehci, "selective suspend/wakeup unavailable\n"); in ehci_pci_setup()
341 retval = ehci_pci_reinit(ehci, pdev); in ehci_pci_setup()
361 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_pci_resume() local
365 (void) ehci_pci_reinit(ehci, pdev); in ehci_pci_resume()