Lines Matching defs:ehci_debug
60 static struct ehci_dbg_port __iomem *ehci_debug;
79 if (!ehci_debug)
82 dbgp_printk(" Debug control: %08x", readl(&ehci_debug->control));
167 ret = readl_poll_timeout_atomic(&ehci_debug->control, ctrl,
176 writel(ctrl | DBGP_DONE, &ehci_debug->control);
201 writel(ctrl | DBGP_GO, &ehci_debug->control);
203 pids = readl(&ehci_debug->pids);
247 writel(lo, &ehci_debug->data03);
248 writel(hi, &ehci_debug->data47);
257 lo = readl(&ehci_debug->data03);
258 hi = readl(&ehci_debug->data47);
277 pids = readl(&ehci_debug->pids);
280 ctrl = readl(&ehci_debug->control);
286 writel(addr, &ehci_debug->address);
287 writel(pids, &ehci_debug->pids);
304 pids = readl(&ehci_debug->pids);
307 ctrl = readl(&ehci_debug->control);
312 writel(addr, &ehci_debug->address);
313 writel(pids, &ehci_debug->pids);
346 ctrl = readl(&ehci_debug->control);
353 writel(addr, &ehci_debug->address);
354 writel(pids, &ehci_debug->pids);
432 ctrl = readl(&ehci_debug->control);
435 writel(ctrl, &ehci_debug->control);
534 ctrl = readl(&ehci_debug->control);
536 writel(ctrl, &ehci_debug->control);
537 ctrl = readl(&ehci_debug->control);
540 writel(ctrl & ~DBGP_CLAIM, &ehci_debug->control);
803 ctrl = readl(&ehci_debug->control);
805 writel(ctrl, &ehci_debug->control);
889 ehci_debug = ehci_bar + offset;
899 ehci_debug = NULL;
916 if (!ehci_debug || dbgp_not_safe)
924 ctrl = readl(&ehci_debug->control);
977 if (!ehci_debug)
987 ctrl = readl(&ehci_debug->control);
990 writel(ctrl, &ehci_debug->control);
1046 if (!ehci_debug) {
1067 while (readl(&ehci_debug->control) & DBGP_ENABLED) {