Lines Matching refs:ohci_readl

201 	{ return ohci_readl(&hc->regs->roothub.a); }  in roothub_a()
203 { return ohci_readl(&hc->regs->roothub.b); } in roothub_b()
205 { return ohci_readl(&hc->regs->roothub.status); } in roothub_status()
207 { return ohci_readl(&hc->regs->roothub.portstatus[i]); } in roothub_portstatus()
390 temp = ohci_readl(&regs->revision) & 0xff; in ohci_dump_status()
394 temp = ohci_readl(&regs->control); in ohci_dump_status()
407 temp = ohci_readl(&regs->cmdstatus); in ohci_dump_status()
416 ohci_dump_intr_mask("intrstatus", ohci_readl(&regs->intrstatus)); in ohci_dump_status()
417 ohci_dump_intr_mask("intrenable", ohci_readl(&regs->intrenable)); in ohci_dump_status()
420 ohci_readl(&regs->ed_periodcurrent)); in ohci_dump_status()
422 maybe_print_eds("ed_controlhead", ohci_readl(&regs->ed_controlhead)); in ohci_dump_status()
424 ohci_readl(&regs->ed_controlcurrent)); in ohci_dump_status()
426 maybe_print_eds("ed_bulkhead", ohci_readl(&regs->ed_bulkhead)); in ohci_dump_status()
427 maybe_print_eds("ed_bulkcurrent", ohci_readl(&regs->ed_bulkcurrent)); in ohci_dump_status()
429 maybe_print_eds("donehead", ohci_readl(&regs->donehead)); in ohci_dump_status()
1790 ohci_writel(ohci_readl(base) | EHCI_USBCMD_HCRESET, base); in hc_reset()
1792 while (ohci_readl(base) & EHCI_USBCMD_HCRESET) { in hc_reset()
1802 if (ohci_readl(&ohci->regs->control) & OHCI_CTRL_IR) { in hc_reset()
1806 while (ohci_readl(&ohci->regs->control) & OHCI_CTRL_IR) { in hc_reset()
1820 ohci_readl(&ohci->regs->control)); in hc_reset()
1828 while ((ohci_readl(&ohci->regs->cmdstatus) & OHCI_HCR) != 0) { in hc_reset()
1915 ints = ohci_readl(&regs->intrstatus); in hc_interrupt()
1921 ints &= ohci_readl(&regs->intrenable); in hc_interrupt()
1957 (void)ohci_readl(&regs->intrdisable); /* flush */ in hc_interrupt()
1960 (void)ohci_readl(&regs->intrdisable); /* flush */ in hc_interrupt()
2214 reg = ohci_readl(&regs->revision); in ohci_register()