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