Lines Matching refs:sense_key
343 switch (sense->sense_key) { in cdrom_log_sense()
386 if (sense->sense_key == 0x05 && sense->asc == 0x24) in cdrom_analyze_sense_data()
405 if (sense->sense_key < ARY_LEN(sense_key_texts)) in cdrom_analyze_sense_data()
406 s = sense_key_texts[sense->sense_key]; in cdrom_analyze_sense_data()
410 printk("%s -- (Sense key=0x%02x)\n", s, sense->sense_key); in cdrom_analyze_sense_data()
418 unsigned long key = (sense->sense_key << 16); in cdrom_analyze_sense_data()
478 if (sense->sense_key == NOT_READY && (sense->sks[0] & 0x80)) { in cdrom_analyze_sense_data()
484 if (sense->sense_key == ILLEGAL_REQUEST && in cdrom_analyze_sense_data()
503 if (sense->sense_key == UNIT_ATTENTION || in cdrom_analyze_sense_data()
504 (sense->sense_key == NOT_READY && (sense->asc == 4 || in cdrom_analyze_sense_data()
510 sense->error_code, sense->sense_key, in cdrom_analyze_sense_data()
612 if (error.b.sense_key) printk("LastFailedSense 0x%02x ", in ide_cdrom_dump_status()
613 error.b.sense_key); in ide_cdrom_dump_status()
700 int stat, err, sense_key; in cdrom_decode_status() local
711 sense_key = err >> 4; in cdrom_decode_status()
736 if (sense_key == NOT_READY) { in cdrom_decode_status()
738 } else if (sense_key == UNIT_ATTENTION) { in cdrom_decode_status()
772 if (sense_key == NOT_READY) { in cdrom_decode_status()
779 } else if (sense_key == UNIT_ATTENTION) { in cdrom_decode_status()
788 } else if (sense_key == ILLEGAL_REQUEST || in cdrom_decode_status()
789 sense_key == DATA_PROTECT) { in cdrom_decode_status()
794 } else if (sense_key == MEDIUM_ERROR) { in cdrom_decode_status()
1629 if (reqbuf->sense_key == UNIT_ATTENTION) in cdrom_queue_packet_command()
1631 else if (reqbuf->sense_key == NOT_READY && in cdrom_queue_packet_command()
2003 sense->sense_key == ILLEGAL_REQUEST && in cdrom_lockdoor()
2012 if (stat != 0 && sense->sense_key == NOT_READY && sense->asc == 0x3a) in cdrom_lockdoor()
2562 if (stat == 0 || sense.sense_key == UNIT_ATTENTION) in ide_cdrom_drive_status()
2565 if (sense.sense_key == NOT_READY && sense.asc == 0x04 && in ide_cdrom_drive_status()
2575 if (sense.sense_key == NOT_READY) { in ide_cdrom_drive_status()