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(®s->revision) & 0xff; in ohci_dump_status()
394 temp = ohci_readl(®s->control); in ohci_dump_status()
407 temp = ohci_readl(®s->cmdstatus); in ohci_dump_status()
416 ohci_dump_intr_mask("intrstatus", ohci_readl(®s->intrstatus)); in ohci_dump_status()
417 ohci_dump_intr_mask("intrenable", ohci_readl(®s->intrenable)); in ohci_dump_status()
420 ohci_readl(®s->ed_periodcurrent)); in ohci_dump_status()
422 maybe_print_eds("ed_controlhead", ohci_readl(®s->ed_controlhead)); in ohci_dump_status()
424 ohci_readl(®s->ed_controlcurrent)); in ohci_dump_status()
426 maybe_print_eds("ed_bulkhead", ohci_readl(®s->ed_bulkhead)); in ohci_dump_status()
427 maybe_print_eds("ed_bulkcurrent", ohci_readl(®s->ed_bulkcurrent)); in ohci_dump_status()
429 maybe_print_eds("donehead", ohci_readl(®s->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(®s->intrstatus); in hc_interrupt()
1921 ints &= ohci_readl(®s->intrenable); in hc_interrupt()
1957 (void)ohci_readl(®s->intrdisable); /* flush */ in hc_interrupt()
1960 (void)ohci_readl(®s->intrdisable); /* flush */ in hc_interrupt()
2214 reg = ohci_readl(®s->revision); in ohci_register()