Lines Matching defs:sense
61 * After each failed packet command we issue a request sense command and retry
266 * called on each failed packet command retry to analyze the request sense. We
274 u8 *sense = bio_data(rq->bio);
276 tape->sense_key = sense[2] & 0xF;
277 tape->asc = sense[12];
278 tape->ascq = sense[13];
281 "cmd: 0x%x, sense key = %x, asc = %x, ascq = %x",
286 scsi_req(rq)->resid_len = tape->blk_size * get_unaligned_be32(&sense[3]);
290 * with sense key=5, asc=0x22, ascq=0, let it slide. Some drives
303 if (pc->c[0] == READ_6 && (sense[2] & 0x80)) {
308 if ((sense[2] & 0x40) || (tape->sense_key == 0xd
431 * 5. In case an error was found, we queue a request sense packet command in
489 /* A mode sense command is used to "sense" tape parameters. */
655 /* prepare sense request for this command */
1449 * Do a mode sense page 0 with block descriptor and if it succeeds set the tape
1803 * Ensure that the number we got makes sense; limit it within