Lines Matching refs:status
220 /* Now complete the command. Write status last in order as we lost
226 cmd->status = rc;
274 cmd->status = 1;
346 while(cmd->status == 1)
723 /* Update status and mark no pending i2c command with lock
730 cmd->status = fail ? -EIO : 0;
774 DPRINTK("SMU: i2c compl. stage=%d status=%x pdata[0]=%x rlen: %x\n",
775 cmd->stage, scmd->status, cmd->pdata[0], scmd->reply_len);
777 /* Check for possible status */
778 if (scmd->status < 0)
811 /* Ok, initial command complete, now poll status */
837 cmd->scmd.status = 1;
841 cmd->status = 1;
936 if (cmd.status != 0)
965 DPRINTK("SMU: done, status: %d, reply_len: %d\n",
966 cmd.cmd.status, cmd.cmd.reply_len);
969 if (cmd.cmd.status != 0 || cmd.cmd.reply_len != 6)
1150 pp->cmd.status = 1;
1185 if (pp->cmd.status == 1) {
1194 if (pp->cmd.status != 1)
1209 if (pp->cmd.status != 0)
1215 hdr.status = pp->cmd.status;
1263 if (pp->busy && pp->cmd.status != 1)
1290 if (busy && pp->cmd.status == 1) {
1296 if (pp->cmd.status != 1)