Lines Matching refs:sense
59 unsigned char *sense; in __tape_34xx_medium_sense() local
62 sense = request->cpdata; in __tape_34xx_medium_sense()
70 if (sense[0] & SENSE_INTERVENTION_REQUIRED) in __tape_34xx_medium_sense()
75 if (sense[1] & SENSE_WRITE_PROTECT) in __tape_34xx_medium_sense()
321 __u8* sense; in tape_34xx_unit_check() local
324 sense = irb->ecw; in tape_34xx_unit_check()
327 sense[0] & SENSE_COMMAND_REJECT && in tape_34xx_unit_check()
328 sense[1] & SENSE_WRITE_PROTECT in tape_34xx_unit_check()
355 sense[0] == SENSE_DATA_CHECK || in tape_34xx_unit_check()
356 sense[0] == SENSE_EQUIPMENT_CHECK || in tape_34xx_unit_check()
357 sense[0] == SENSE_EQUIPMENT_CHECK + SENSE_DEFERRED_UNIT_CHECK in tape_34xx_unit_check()
359 sense[1] == SENSE_DRIVE_ONLINE || in tape_34xx_unit_check()
360 sense[1] == SENSE_BEGINNING_OF_TAPE + SENSE_WRITE_MODE in tape_34xx_unit_check()
405 if (sense[0] & SENSE_BUS_OUT_CHECK) in tape_34xx_unit_check()
408 if (sense[0] & SENSE_DATA_CHECK) { in tape_34xx_unit_check()
413 switch (sense[3]) { in tape_34xx_unit_check()
416 if ((sense[2] & SENSE_TAPE_SYNC_MODE) || in tape_34xx_unit_check()
430 if ((sense[2] & SENSE_TAPE_SYNC_MODE) || in tape_34xx_unit_check()
470 if (sense[0] & SENSE_OVERRUN) in tape_34xx_unit_check()
473 if (sense[1] & SENSE_RECORD_SEQUENCE_ERR) in tape_34xx_unit_check()
477 switch (sense[3]) { in tape_34xx_unit_check()
535 return tape_34xx_erp_bug(device, request, irb, sense[3]); in tape_34xx_unit_check()
547 return tape_34xx_erp_bug(device, request, irb, sense[3]); in tape_34xx_unit_check()
585 return tape_34xx_erp_bug(device, request, irb, sense[3]); in tape_34xx_unit_check()
602 return tape_34xx_erp_bug(device, request, irb, sense[3]); in tape_34xx_unit_check()
647 if (sense[1] & SENSE_DRIVE_ONLINE) { in tape_34xx_unit_check()
665 irb, sense[3]); in tape_34xx_unit_check()
722 return tape_34xx_erp_bug(device, request, irb, sense[3]); in tape_34xx_unit_check()
735 return tape_34xx_erp_bug(device, request, irb, sense[3]); in tape_34xx_unit_check()
759 return tape_34xx_erp_bug(device, request, irb, sense[3]); in tape_34xx_unit_check()
792 if (sense[1] & SENSE_BEGINNING_OF_TAPE) in tape_34xx_unit_check()
824 return tape_34xx_erp_bug(device, request, irb, sense[3]); in tape_34xx_unit_check()