Lines Matching defs:command

122  * commands.  Each table entry is a command class and matches the
125 * On the retry after a command timed out, the next timeout value from
130 * command class, so if SET_FEATURES times out on the first try, the
317 * ata_internal_cmd_timeout - determine timeout for an internal command
319 * @cmd: internal command to be issued
321 * Determine timeout for internal command @cmd for @dev.
343 * ata_internal_cmd_timed_out - notification for internal command timeout
345 * @cmd: internal command which timed out
347 * Notify EH that internal command @cmd for @dev timed out. This
596 non-notified command and completes much like an IRQ handler.
901 * @qc: command to schedule error handling for
1174 * ata_eh_qc_complete - Complete an active ATA command from EH
1177 * Indicate to the mid and upper layers that an ATA command has
1188 * ata_eh_qc_retry - Tell midlayer to retry an ATA command after EH
1191 * Indicate to the mid and upper layers that an ATA command
1384 tf.command = ATA_CMD_PACKET;
1396 * @cmd: scsi command for which the sense code should be set
1429 tf.command = ATA_CMD_REQ_SENSE_DATA;
1434 if (tf.command & ATA_SENSE) {
1439 tf.command, err_mask);
1480 tf.command = ATA_CMD_PACKET;
1564 u8 stat = tf->command, err = tf->feature;
1618 * command would need to be retried.
1690 * ECAT_ATA_BUS : ATA_BUS error for any command
1692 * ECAT_TOUT_HSM : TIMEOUT for any command or HSM violation for
1896 * ata_eh_quiet - check if we need to be quiet about a command error
1899 * Look at the qc flags anbd its scsi command request flags to determine
1900 * if we need to be quiet about the command failure.
1980 * layers will determine whether the command is worth retrying
1982 * determine directly if the command is worth retrying using its
2090 * ata_get_cmd_descript - get description for ATA command
2091 * @command: ATA command code to get description for
2093 * Return a textual description of the given command, or NULL if the
2094 * command is not known.
2099 const char *ata_get_cmd_descript(u8 command)
2104 u8 command;
2204 if (cmd_descr[i].command == command)
2360 const char *descr = ata_get_cmd_descript(cmd->command);
2362 ata_dev_err(qc->dev, "failed command: %s\n",
2371 cmd->command, cmd->feature, cmd->nsect,
2376 res->command, res->feature, res->nsect,
2384 if (res->command & (ATA_BUSY | ATA_DRDY | ATA_DF | ATA_DRQ |
2386 if (res->command & ATA_BUSY)
2390 res->command & ATA_DRDY ? "DRDY " : "",
2391 res->command & ATA_DF ? "DF " : "",
2392 res->command & ATA_DRQ ? "DRQ " : "",
2393 res->command & ATA_SENSE ? "SENSE " : "",
2394 res->command & ATA_ERR ? "ERR " : "");
2397 if (cmd->command != ATA_CMD_PACKET &&
2889 tf.command = ATA_CMD_IDLEIMMEDIATE;
2896 tf.command = ATA_CMD_CHK_POWER;
3168 if (qc->dev != dev || (qc->tf.command != ATA_CMD_FLUSH_EXT &&
3169 qc->tf.command != ATA_CMD_FLUSH))
3179 tf.command = qc->tf.command;
3184 tf.command, qc->err_mask);
3190 * successfully complete a failed command from EH.
3303 * Low level driver acked the transition. Issue DIPM command