Lines Matching refs:command
127 const char *label, u32 command) in dbg_command_buf() argument
131 label, label[0] ? " " : "", command, in dbg_command_buf()
132 (command & CMD_PARK) ? "park" : "(park)", in dbg_command_buf()
133 CMD_PARK_CNT(command), in dbg_command_buf()
134 (command >> 16) & 0x3f, in dbg_command_buf()
135 (command & CMD_LRESET) ? " LReset" : "", in dbg_command_buf()
136 (command & CMD_IAAD) ? " IAAD" : "", in dbg_command_buf()
137 (command & CMD_ASE) ? " Async" : "", in dbg_command_buf()
138 (command & CMD_PSE) ? " Periodic" : "", in dbg_command_buf()
139 fls_strings[(command >> 2) & 0x3], in dbg_command_buf()
140 (command & CMD_RESET) ? " Reset" : "", in dbg_command_buf()
141 (command & CMD_RUN) ? "RUN" : "HALT" in dbg_command_buf()
191 dbg_command_buf(char *buf, unsigned len, const char *label, u32 command) in dbg_command_buf() argument
211 #define dbg_cmd(oxu, label, command) { \ argument
213 dbg_command_buf(_buf, sizeof _buf, label, command); \
350 temp = readl(&oxu->regs->command); in ehci_halt()
352 writel(temp, &oxu->regs->command); in ehci_halt()
373 u32 command = readl(&oxu->regs->command); in ehci_reset() local
375 command |= CMD_RESET; in ehci_reset()
376 dbg_cmd(oxu, "reset", command); in ehci_reset()
377 writel(command, &oxu->regs->command); in ehci_reset()
380 retval = handshake(oxu, &oxu->regs->command, in ehci_reset()
402 temp = readl(&oxu->regs->command) << 10; in ehci_quiesce()
411 temp = readl(&oxu->regs->command); in ehci_quiesce()
413 writel(temp, &oxu->regs->command); in ehci_quiesce()
1505 u32 cmd = readl(&oxu->regs->command); in qh_link_async()
1512 writel(cmd, &oxu->regs->command); in qh_link_async()
1707 int cmd = readl(&oxu->regs->command); in start_unlink_async()
1723 writel(cmd & ~CMD_ASE, &oxu->regs->command); in start_unlink_async()
1752 writel(cmd, &oxu->regs->command); in start_unlink_async()
1753 (void) readl(&oxu->regs->command); in start_unlink_async()
1893 cmd = readl(&oxu->regs->command) | CMD_PSE; in enable_periodic()
1894 writel(cmd, &oxu->regs->command); in enable_periodic()
1919 cmd = readl(&oxu->regs->command) & ~CMD_PSE; in disable_periodic()
1920 writel(cmd, &oxu->regs->command); in disable_periodic()
2465 readl(&oxu->regs->command); /* unblock posted write */ in oxu210_hcd_irq()
2491 if (!(readl(&oxu->regs->command) & CMD_RUN)) in oxu210_hcd_irq()
2518 dbg_cmd(oxu, "fatal", readl(&oxu->regs->command)); in oxu210_hcd_irq()
2663 oxu->command = temp; in oxu_hcd_init()
2738 oxu->command &= ~(CMD_LRESET | CMD_IAAD | CMD_PSE | in oxu_run()
2740 oxu->command |= CMD_RUN; in oxu_run()
2741 writel(oxu->command, &oxu->regs->command); in oxu_run()
2742 dbg_cmd(oxu, "init", oxu->command); in oxu_run()
2752 readl(&oxu->regs->command); /* unblock posted writes */ in oxu_run()
3241 readl(&oxu->regs->command); /* unblock posted write */ in oxu_hub_control()
3437 readl(&oxu->regs->command); /* unblock posted writes */ in oxu_hub_control()
3470 oxu->command = readl(&oxu->regs->command); in oxu_bus_suspend()
3554 writel(oxu->command, &oxu->regs->command); in oxu_bus_resume()
3582 (void) readl(&oxu->regs->command); in oxu_bus_resume()
3591 oxu->command |= temp; in oxu_bus_resume()
3592 writel(oxu->command, &oxu->regs->command); in oxu_bus_resume()