Lines Matching defs:command

210 		u32 command)
214 label, label[0] ? " " : "", command,
215 (command & CMD_PARK) ? " park" : "(park)",
216 CMD_PARK_CNT(command),
217 (command >> 16) & 0x3f,
218 (command & CMD_IAAD) ? " IAAD" : "",
219 (command & CMD_ASE) ? " Async" : "",
220 (command & CMD_PSE) ? " Periodic" : "",
221 fls_strings[(command >> 2) & 0x3],
222 (command & CMD_RESET) ? " Reset" : "",
223 (command & CMD_RUN) ? "RUN" : "HALT");
269 #define dbg_cmd(fotg210, label, command) { \
271 dbg_command_buf(_buf, sizeof(_buf), label, command); \
698 fotg210_readl(fotg210, &fotg210->regs->command));
908 * This routine gets called during probe before fotg210->command
911 fotg210->command &= ~CMD_RUN;
912 temp = fotg210_readl(fotg210, &fotg210->regs->command);
914 fotg210_writel(fotg210, temp, &fotg210->regs->command);
929 u32 command = fotg210_readl(fotg210, &fotg210->regs->command);
937 command |= CMD_RESET;
938 dbg_cmd(fotg210, "reset", command);
939 fotg210_writel(fotg210, command, &fotg210->regs->command);
942 retval = handshake(fotg210, &fotg210->regs->command,
967 temp = (fotg210->command << 10) & (STS_ASS | STS_PSS);
973 fotg210->command &= ~(CMD_ASE | CMD_PSE);
974 fotg210_writel(fotg210, fotg210->command, &fotg210->regs->command);
992 fotg210->command |= bit;
993 fotg210_writel(fotg210, fotg210->command, &fotg210->regs->command);
996 fotg210_readl(fotg210, &fotg210->regs->command);
1002 fotg210->command &= ~bit;
1003 fotg210_writel(fotg210, fotg210->command, &fotg210->regs->command);
1006 fotg210_readl(fotg210, &fotg210->regs->command);
1076 want = (fotg210->command & CMD_ASE) ? STS_ASS : 0;
1124 want = (fotg210->command & CMD_PSE) ? STS_PSS : 0;
1274 cmd = fotg210_readl(fotg210, &fotg210->regs->command);
1536 fotg210_readl(fotg210, &fotg210->regs->command);
1629 fotg210->command |= CMD_RUN;
1630 fotg210_writel(fotg210, fotg210->command, &fotg210->regs->command);
1769 fotg210_readl(fotg210, &fotg210->regs->command);
3113 fotg210_writel(fotg210, fotg210->command | CMD_IAAD,
3114 &fotg210->regs->command);
3115 fotg210_readl(fotg210, &fotg210->regs->command);
4992 fotg210->command = temp;
5033 fotg210->command &= ~(CMD_IAAD|CMD_PSE|CMD_ASE|CMD_RESET);
5034 fotg210->command |= CMD_RUN;
5035 fotg210_writel(fotg210, fotg210->command, &fotg210->regs->command);
5036 dbg_cmd(fotg210, "init", fotg210->command);
5055 fotg210_readl(fotg210, &fotg210->regs->command);
5142 cmd = fotg210_readl(fotg210, &fotg210->regs->command);
5229 fotg210->command &= ~(CMD_RUN | CMD_ASE | CMD_PSE);
5230 fotg210_writel(fotg210, fotg210->command,
5231 &fotg210->regs->command);