Lines Matching defs:command

63  * This is the command buffer passed to the SMU hardware
84 struct smu_cmd_buf *cmd_buf; /* command buffer virtual */
85 u32 cmd_buf_abs; /* command buffer absolute */
87 struct smu_cmd *cmd_cur; /* pending command */
90 struct smu_i2c_cmd *cmd_i2c_cur; /* pending i2c command */
118 /* Fetch first command in queue */
127 /* Fill the SMU command buffer */
132 /* Flush command and data to RAM */
138 /* We also disable NAP mode for the duration of the command
143 * whole duration of the command prevents the SMU from fetching it
170 /* SMU completed the command, well, we hope, let's make sure
219 /* Now complete the command. Write status last in order as we lost
220 * ownership of the command structure as soon as it's no longer -1
231 /* Start next command if any */
235 /* Call command completion handler if any */
259 * Queued command management.
289 int smu_queue_simple(struct smu_simple_cmd *scmd, u8 command,
302 cmd->cmd = command;
724 /* Update status and mark no pending i2c command with lock
726 * pending next i2c command
733 /* Is there another i2c command waiting ? */
750 /* Call command completion handler if any */
763 /* requeue command simply by resetting reply_len */
790 /* Handle failures by requeuing command, after 5ms interval
804 /* If failure or stage 1, command is complete */
812 /* 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