Lines Matching refs:cmnd
909 cmd->cmnd[0], cmd->target, cmd->lun, cmd->request_bufflen, cmd->use_sg)); in AM53C974_queue_command()
921 if (!(hostdata->issue_queue) || (cmd->cmnd[0] == REQUEST_SENSE)) { in AM53C974_queue_command()
933 (cmd->cmnd[0] == REQUEST_SENSE) ? "head" : "tail")); in AM53C974_queue_command()
1280 (hostdata->sel_cmd->cmnd[0] == REQUEST_SENSE) ? in AM53C974_intr()
1319 if ((hostdata->connected->cmnd[0] == REQUEST_SENSE) && hostdata->connected->use_sg) { in AM53C974_intr()
1394 instance->host_no, cmd->cmnd[0], cmd->target, cmd->lun)); in AM53C974_intr_disconnect()
1409 if (cmd->cmnd[0] == REQUEST_SENSE) { in AM53C974_intr_disconnect()
1675 AM53C974_write_8(FFREG, cmd->cmnd[i]); in AM53C974_information_transfer()
1770 "LINKED_FLG_CMD_COMPLETE message\n", cmd->cmnd[0])); in AM53C974_message()
1790 instance->host_no, cmd->cmnd[0], cmd->target, cmd->lun)); in AM53C974_message()
1806 if (cmd->cmnd[0] != REQUEST_SENSE) in AM53C974_message()
1814 "COMMAND_COMPLETE message\n", cmd->cmnd[0])); in AM53C974_message()
1817 if ((cmd->cmnd[0] != REQUEST_SENSE) && (cmd->SCp.Status == CHECK_CONDITION)) { in AM53C974_message()
1819 cmd->cmnd[0] = REQUEST_SENSE; in AM53C974_message()
1820 cmd->cmnd[1] &= 0xe0; in AM53C974_message()
1821 cmd->cmnd[2] = 0; in AM53C974_message()
1822 cmd->cmnd[3] = 0; in AM53C974_message()
1823 cmd->cmnd[4] = sizeof(cmd->sense_buffer); in AM53C974_message()
1824 cmd->cmnd[5] = 0; in AM53C974_message()
1840 instance->host_no, cmd->cmnd[0], cmd->target, cmd->lun)); in AM53C974_message()
1867 instance->host_no, cmd->cmnd[0], cmd->target, cmd->lun)); in AM53C974_message()
1876 instance->host_no, cmd->cmnd[0], cmd->target, cmd->lun)); in AM53C974_message()
1887 cmd->cmnd[0])); in AM53C974_message()
1895 instance->host_no, cmd->cmnd[0], cmd->target, cmd->lun)); in AM53C974_message()
1986 unsigned int i, len, cmd_size = COMMAND_SIZE(cmd->cmnd[0]); in AM53C974_select()
2027 if (((cmd->cmnd[0] == INQUIRY) || (cmd->cmnd[0] == REQUEST_SENSE)) && in AM53C974_select()
2042 AM53C974_write_8(FFREG, cmd->cmnd[i]); in AM53C974_select()
2048 AM53C974_write_8(FFREG, cmd->cmnd[i]); in AM53C974_select()