Lines Matching defs:command
124 u32 command;
453 u32 command;
554 const char *label, u32 command)
558 label, label[0] ? " " : "", command,
559 (command & CMD_PARK) ? "park" : "(park)",
560 CMD_PARK_CNT(command),
561 (command >> 16) & 0x3f,
562 (command & CMD_LRESET) ? " LReset" : "",
563 (command & CMD_IAAD) ? " IAAD" : "",
564 (command & CMD_ASE) ? " Async" : "",
565 (command & CMD_PSE) ? " Periodic" : "",
566 fls_strings[(command >> 2) & 0x3],
567 (command & CMD_RESET) ? " Reset" : "",
568 (command & CMD_RUN) ? "RUN" : "HALT"
618 dbg_command_buf(char *buf, unsigned len, const char *label, u32 command)
638 #define dbg_cmd(oxu, label, command) { \
640 dbg_command_buf(_buf, sizeof _buf, label, command); \
775 temp = readl(&oxu->regs->command);
777 writel(temp, &oxu->regs->command);
798 u32 command = readl(&oxu->regs->command);
800 command |= CMD_RESET;
801 dbg_cmd(oxu, "reset", command);
802 writel(command, &oxu->regs->command);
805 retval = handshake(oxu, &oxu->regs->command,
826 temp = readl(&oxu->regs->command) << 10;
835 temp = readl(&oxu->regs->command);
837 writel(temp, &oxu->regs->command);
1924 u32 cmd = readl(&oxu->regs->command);
1931 writel(cmd, &oxu->regs->command);
2125 int cmd = readl(&oxu->regs->command);
2140 writel(cmd & ~CMD_ASE, &oxu->regs->command);
2169 writel(cmd, &oxu->regs->command);
2170 (void) readl(&oxu->regs->command);
2310 cmd = readl(&oxu->regs->command) | CMD_PSE;
2311 writel(cmd, &oxu->regs->command);
2336 cmd = readl(&oxu->regs->command) & ~CMD_PSE;
2337 writel(cmd, &oxu->regs->command);
2880 readl(&oxu->regs->command); /* unblock posted write */
2906 if (!(readl(&oxu->regs->command) & CMD_RUN))
2933 dbg_cmd(oxu, "fatal", readl(&oxu->regs->command));
3078 oxu->command = temp;
3145 oxu->command &= ~(CMD_LRESET | CMD_IAAD | CMD_PSE |
3147 oxu->command |= CMD_RUN;
3148 writel(oxu->command, &oxu->regs->command);
3149 dbg_cmd(oxu, "init", oxu->command);
3159 readl(&oxu->regs->command); /* unblock posted writes */
3646 readl(&oxu->regs->command); /* unblock posted write */
3842 readl(&oxu->regs->command); /* unblock posted writes */
3875 oxu->command = readl(&oxu->regs->command);
3961 writel(oxu->command, &oxu->regs->command);
3989 (void) readl(&oxu->regs->command);
3998 oxu->command |= temp;
3999 writel(oxu->command, &oxu->regs->command);