Lines Matching defs:command
64 * This is the command buffer passed to the SMU hardware
85 struct smu_cmd_buf *cmd_buf; /* command buffer virtual */
86 u32 cmd_buf_abs; /* command buffer absolute */
88 struct smu_cmd *cmd_cur; /* pending command */
91 struct smu_i2c_cmd *cmd_i2c_cur; /* pending i2c command */
119 /* Fetch first command in queue */
128 /* Fill the SMU command buffer */
133 /* Flush command and data to RAM */
139 /* We also disable NAP mode for the duration of the command
144 * whole duration of the command prevents the SMU from fetching it
171 /* SMU completed the command, well, we hope, let's make sure
220 /* Now complete the command. Write status last in order as we lost
221 * ownership of the command structure as soon as it's no longer -1
232 /* Start next command if any */
236 /* Call command completion handler if any */
260 * Queued command management.
290 int smu_queue_simple(struct smu_simple_cmd *scmd, u8 command,
303 cmd->cmd = command;
723 /* Update status and mark no pending i2c command with lock
725 * pending next i2c command
732 /* Is there another i2c command waiting ? */
749 /* Call command completion handler if any */
762 /* requeue command simply by resetting reply_len */
789 /* Handle failures by requeuing command, after 5ms interval
803 /* If failure or stage 1, command is complete */
811 /* Ok, initial command complete, now poll status */
864 /* Finish setting up command based on transfer direction
877 DPRINTK("SMU: i2c enqueuing command\n");
884 /* Enqueue command in i2c list, and if empty, enqueue also in
885 * main command list