Home
last modified time | relevance | path

Searched refs:ohci_readl (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/usb/host/
H A Dohci-hub.c53 ohci->hc_control = ohci_readl (ohci, &ohci->regs->control); in ohci_rh_suspend()
60 (void) ohci_readl (ohci, &ohci->regs->control); in ohci_rh_suspend()
79 ohci->hc_control = ohci_readl (ohci, &ohci->regs->control); in ohci_rh_suspend()
108 temp = ohci_readl(ohci, portstat); in ohci_rh_suspend()
130 (void) ohci_readl (ohci, &ohci->regs->control); in ohci_rh_suspend()
162 ohci->hc_control = ohci_readl (ohci, &ohci->regs->control); in ohci_rh_resume()
180 (void) ohci_readl (ohci, &ohci->regs->control); in ohci_rh_resume()
218 temp = ohci_readl (ohci, &ohci->regs->control); in ohci_rh_resume()
250 (void) ohci_readl (ohci, &ohci->regs->control); in ohci_rh_resume()
259 (void) ohci_readl (ohci, &ohci->regs->control); in ohci_rh_resume()
[all …]
H A Dohci-hcd.c410 ohci->hc_control = ohci_readl (ohci, &ohci->regs->control); in ohci_usb_reset()
429 ohci_readl(ohci, &ohci->regs->cmdstatus); /* flush the writes */ in _ohci_shutdown()
473 if (!no_handshake && ohci_readl (ohci, in ohci_init()
487 while (ohci_readl (ohci, &ohci->regs->control) & OHCI_CTRL_IR) { in ohci_init()
503 if (ohci_readl (ohci, &ohci->regs->control) & OHCI_CTRL_RWC) in ohci_init()
554 val = ohci_readl (ohci, &ohci->regs->fminterval); in ohci_run()
591 (void) ohci_readl (ohci, &ohci->regs->control); in ohci_run()
603 while ((ohci_readl (ohci, &ohci->regs->cmdstatus) & OHCI_HCR) != 0) { in ohci_run()
624 (void) ohci_readl (ohci, &ohci->regs->control); in ohci_run()
640 if ((ohci_readl (ohci, &ohci->regs->fminterval) & 0x3fff0000) == 0 in ohci_run()
[all …]
H A Dohci-dbg.c106 temp = ohci_readl (controller, &regs->revision) & 0xff; in ohci_dump_status()
113 temp = ohci_readl (controller, &regs->control); in ohci_dump_status()
128 temp = ohci_readl (controller, &regs->cmdstatus); in ohci_dump_status()
139 ohci_readl (controller, &regs->intrstatus), in ohci_dump_status()
142 ohci_readl (controller, &regs->intrenable), in ohci_dump_status()
147 ohci_readl (controller, &regs->ed_periodcurrent), in ohci_dump_status()
151 ohci_readl (controller, &regs->ed_controlhead), in ohci_dump_status()
154 ohci_readl (controller, &regs->ed_controlcurrent), in ohci_dump_status()
158 ohci_readl (controller, &regs->ed_bulkhead), in ohci_dump_status()
161 ohci_readl (controller, &regs->ed_bulkcurrent), in ohci_dump_status()
[all …]
H A Dohci.h585 #define ohci_readl(o,r) _ohci_readl(o,r) macro
697 u32 fit = ohci_readl(ohci, &ohci->regs->fminterval) & FIT; in periodic_reinit()
710 u32 temp = ohci_readl (hc, &hc->regs->roothub.register); \
715 temp = ohci_readl (hc, &hc->regs->roothub.register); \
721 { return ohci_readl (hc, &hc->regs->roothub.b); } in roothub_b()
723 { return ohci_readl (hc, &hc->regs->roothub.status); } in roothub_status()
H A Dohci-da8xx.c260 rh_a = ohci_readl(ohci, &ohci->regs->roothub.a); in ohci_da8xx_reset()
H A Dohci-at91.c648 (void) ohci_readl (ohci, &ohci->regs->control); in ohci_hcd_at91_drv_suspend()
H A Dohci-q.c498 (void) ohci_readl (ohci, &ohci->regs->control); in start_ed_unlink()
/openbmc/u-boot/drivers/usb/host/
H A Dohci-hcd.c197 { return ohci_readl(&hc->regs->roothub.a); } in roothub_a()
199 { return ohci_readl(&hc->regs->roothub.b); } in roothub_b()
201 { return ohci_readl(&hc->regs->roothub.status); } in roothub_status()
203 { return ohci_readl(&hc->regs->roothub.portstatus[i]); } in roothub_portstatus()
386 temp = ohci_readl(&regs->revision) & 0xff; in ohci_dump_status()
390 temp = ohci_readl(&regs->control); in ohci_dump_status()
403 temp = ohci_readl(&regs->cmdstatus); in ohci_dump_status()
412 ohci_dump_intr_mask("intrstatus", ohci_readl(&regs->intrstatus)); in ohci_dump_status()
413 ohci_dump_intr_mask("intrenable", ohci_readl(&regs->intrenable)); in ohci_dump_status()
416 ohci_readl(&regs->ed_periodcurrent)); in ohci_dump_status()
[all …]
H A Dohci.h17 # define ohci_readl(a) __swap_32(readl(a)) macro
20 # define ohci_readl(a) readl(a) macro