Lines Matching defs:sense
63 * After each failed packet command we issue a request sense command and retry
267 * called on each failed packet command retry to analyze the request sense. We
275 u8 *sense = bio_data(rq->bio);
277 tape->sense_key = sense[2] & 0xF;
278 tape->asc = sense[12];
279 tape->ascq = sense[13];
282 "cmd: 0x%x, sense key = %x, asc = %x, ascq = %x",
287 rq->resid_len = tape->blk_size * get_unaligned_be32(&sense[3]);
291 * with sense key=5, asc=0x22, ascq=0, let it slide. Some drives
304 if (pc->c[0] == READ_6 && (sense[2] & 0x80)) {
309 if ((sense[2] & 0x40) || (tape->sense_key == 0xd
432 * 5. In case an error was found, we queue a request sense packet command in
490 /* A mode sense command is used to "sense" tape parameters. */
654 /* prepare sense request for this command */
1436 * Do a mode sense page 0 with block descriptor and if it succeeds set the tape
1792 * Ensure that the number we got makes sense; limit it within