Home
last modified time | relevance | path

Searched refs:UNIT_ATTENTION (Results 1 – 41 of 41) sorted by relevance

/linux-4.4.14/include/scsi/
Dscsi_proto.h226 #define UNIT_ATTENTION 0x06 macro
/linux-4.4.14/drivers/ide/
Dide-cd_verbose.c22 if (sense->sense_key == UNIT_ATTENTION || in ide_cd_log_error()
Dide-cd_ioctl.c52 if (!stat || sense.sense_key == UNIT_ATTENTION) in ide_cdrom_drive_status()
Dide-cd.c128 case UNIT_ATTENTION: in cdrom_log_sense()
320 case UNIT_ATTENTION: in cdrom_decode_status()
479 if (reqbuf->sense_key == UNIT_ATTENTION) in ide_cd_queue_pc()
/linux-4.4.14/drivers/scsi/
Dscsi_ioctl.c119 case UNIT_ATTENTION: in ioctl_internal_command()
Dscsi_lib.c947 case UNIT_ATTENTION: in scsi_io_completion()
2510 sshdr->sense_key == UNIT_ATTENTION && retry_count) { in scsi_mode_sense()
2551 sshdr->sense_key == UNIT_ATTENTION) in scsi_test_unit_ready()
2554 sshdr->sense_key == UNIT_ATTENTION && --retries); in scsi_test_unit_ready()
Dsd.c1379 case UNIT_ATTENTION: in media_not_present()
1894 sense_valid && sshdr.sense_key == UNIT_ATTENTION))); in sd_spinup_disk()
1947 sshdr.sense_key == UNIT_ATTENTION && in sd_spinup_disk()
2089 sshdr.sense_key == UNIT_ATTENTION && in read_capacity_16()
2171 sshdr.sense_key == UNIT_ATTENTION && in read_capacity_10()
Dsr_ioctl.c218 case UNIT_ATTENTION: in sr_do_ioctl()
Dscsi_scan.c611 if ((sshdr.sense_key == UNIT_ATTENTION) && in scsi_probe_lun()
1400 if (sshdr.sense_key != UNIT_ATTENTION) in scsi_report_lun_scan()
Dscsi_debug.c825 mk_sense_buffer(SCpnt, UNIT_ATTENTION, in check_readiness()
831 mk_sense_buffer(SCpnt, UNIT_ATTENTION, in check_readiness()
837 mk_sense_buffer(SCpnt, UNIT_ATTENTION, in check_readiness()
843 mk_sense_buffer(SCpnt, UNIT_ATTENTION, in check_readiness()
849 mk_sense_buffer(SCpnt, UNIT_ATTENTION, in check_readiness()
855 mk_sense_buffer(SCpnt, UNIT_ATTENTION, in check_readiness()
872 mk_sense_buffer(SCpnt, UNIT_ATTENTION, in check_readiness()
Dscsi_error.c393 if (sshdr->sense_key == UNIT_ATTENTION) { in scsi_report_sense()
517 case UNIT_ATTENTION: in scsi_check_sense()
Dsr.c206 if (scsi_sense_valid(&sshdr) && sshdr.sense_key == UNIT_ATTENTION) in sr_get_events()
Dch.c207 case UNIT_ATTENTION: in ch_do_scsi()
Dfdomain.c1382 if (key != UNIT_ATTENTION in do_fdomain_16x0_intr()
Dscsi_transport_spi.c141 && sshdr->sense_key == UNIT_ATTENTION) in spi_execute()
Dosst.c4574 (SRpnt->sense[2] & 0x0f) == UNIT_ATTENTION) { /* New media? */ in __os_scsi_tape_open()
4588 (SRpnt->sense[2] & 0x0f) != UNIT_ATTENTION) in __os_scsi_tape_open()
4700 if ((SRpnt->sense[2] & 0x0f) == UNIT_ATTENTION) { in __os_scsi_tape_open()
Dsg.c1336 && sshdr.sense_key == UNIT_ATTENTION in sg_rq_end_io()
Dgdth.c2173 nscp->sense_buffer[2] = UNIT_ATTENTION; in gdth_next()
2225 nscp->sense_buffer[2] = UNIT_ATTENTION; in gdth_next()
Ddc395x.c3343 case UNIT_ATTENTION: in srb_done()
Dhpsa.c354 if (sense_key != UNIT_ATTENTION || asc == 0xff) in check_for_unit_attention()
5349 c->err_info->SenseInfo[2] == UNIT_ATTENTION)) in hpsa_send_test_unit_ready()
Dst.c990 if (scode == UNIT_ATTENTION) { /* New media? */ in test_ready()
/linux-4.4.14/drivers/scsi/device_handler/
Dscsi_dh_hp_sw.c73 case UNIT_ATTENTION: in tur_done()
Dscsi_dh_rdac.c550 case UNIT_ATTENTION: in mode_select_handle_sense()
760 case UNIT_ATTENTION: in rdac_check_sense()
Dscsi_dh_emc.c430 case UNIT_ATTENTION: in clariion_check_sense()
Dscsi_dh_alua.c478 case UNIT_ATTENTION: in alua_check_sense()
/linux-4.4.14/drivers/usb/storage/
Djumpshot.c638 info->sense_key = UNIT_ATTENTION; in jumpshot_transport()
Disd200.c419 buf->Flags = UNIT_ATTENTION; in isd200_build_sense()
425 buf->Flags = UNIT_ATTENTION; in isd200_build_sense()
Ddatafab.c713 info->sense_key = UNIT_ATTENTION; in datafab_transport()
Dalauda.c489 info->sense_key = UNIT_ATTENTION; in alauda_check_media()
Dshuttle_usbat.c972 info->sense_key = UNIT_ATTENTION; in usbat_flash_check_media()
/linux-4.4.14/drivers/cdrom/
Dgdrom.c95 {UNIT_ATTENTION, "Device needs attention - disk may have been changed"},
/linux-4.4.14/drivers/staging/rts5208/
Drtsx_chip.h161 #define UNIT_ATTENTION 0x06 /* unit attention condition occur */ macro
/linux-4.4.14/drivers/scsi/cxlflash/
Dsuperpipe.c359 case UNIT_ATTENTION: in read_cap16()
1727 case UNIT_ATTENTION: in process_sense()
/linux-4.4.14/drivers/target/
Dtarget_core_spc.c1181 scsi_build_sense_buffer(desc_format, buf, UNIT_ATTENTION, in spc_emulate_request_sense()
Dtarget_core_transport.c2800 .key = UNIT_ATTENTION,
/linux-4.4.14/drivers/block/
Dcciss_scsi.c1617 if (c->err_info->SenseInfo[2] == UNIT_ATTENTION) { in wait_for_device_to_become_ready()
Dcciss.c3778 if (c->err_info->SenseInfo[2] != UNIT_ATTENTION) in check_for_unit_attention()
/linux-4.4.14/Documentation/scsi/
DChangeLog.1992-19971679 * sd.c: Only pay attention to UNIT_ATTENTION for removable disks.
1955 * scsi.c: Fix bug in testing for UNIT_ATTENTION.
/linux-4.4.14/drivers/ata/
Dlibata-scsi.c883 {0x20, UNIT_ATTENTION, 0x28, 0x00}, in ata_to_sense_error()
Dlibata-eh.c3313 if (!err_mask || sense_key != UNIT_ATTENTION) in atapi_eh_clear_ua()
/linux-4.4.14/drivers/scsi/mpt3sas/
Dmpt3sas_scsih.c4508 ((scmd->sense_buffer[2] == UNIT_ATTENTION) || in _scsih_io_done()