/linux-4.1.27/drivers/scsi/ |
H A D | sr_ioctl.c | 182 error code is. Normally the UNIT_ATTENTION code will automatically 218 case UNIT_ATTENTION: sr_do_ioctl()
|
H A D | scsi_ioctl.c | 119 case UNIT_ATTENTION: ioctl_internal_command()
|
H A D | sd.c | 1364 case UNIT_ATTENTION: media_not_present() 1442 * Device has indicated UNIT_ATTENTION. sd_check_events() 1784 sense_valid && sshdr.sense_key == UNIT_ATTENTION))); sd_spinup_disk() 1837 sshdr.sense_key == UNIT_ATTENTION && sd_spinup_disk() 1979 sshdr.sense_key == UNIT_ATTENTION && read_capacity_16() 2061 sshdr.sense_key == UNIT_ATTENTION && read_capacity_10()
|
H A D | scsi_lib.c | 946 case UNIT_ATTENTION: scsi_io_completion() 2524 * removable media, UNIT_ATTENTION sets ->changed flag. 2541 /* try to eat the UNIT_ATTENTION if there are enough retries */ scsi_test_unit_ready() 2546 sshdr->sense_key == UNIT_ATTENTION) scsi_test_unit_ready() 2549 sshdr->sense_key == UNIT_ATTENTION && --retries); scsi_test_unit_ready()
|
H A D | scsi_debug.c | 822 mk_sense_buffer(SCpnt, UNIT_ATTENTION, check_readiness() 828 mk_sense_buffer(SCpnt, UNIT_ATTENTION, check_readiness() 834 mk_sense_buffer(SCpnt, UNIT_ATTENTION, check_readiness() 840 mk_sense_buffer(SCpnt, UNIT_ATTENTION, check_readiness() 846 mk_sense_buffer(SCpnt, UNIT_ATTENTION, check_readiness() 852 mk_sense_buffer(SCpnt, UNIT_ATTENTION, check_readiness() 869 mk_sense_buffer(SCpnt, UNIT_ATTENTION, check_readiness()
|
H A D | scsi_scan.c | 604 * INQUIRY should not yield UNIT_ATTENTION scsi_probe_lun() 609 if ((sshdr.sense_key == UNIT_ATTENTION) && scsi_probe_lun() 1457 if (sshdr.sense_key != UNIT_ATTENTION) scsi_report_lun_scan()
|
H A D | ch.c | 207 case UNIT_ATTENTION: ch_do_scsi()
|
H A D | gdth.c | 2167 /* return UNIT_ATTENTION */ gdth_next() 2168 TRACE2(("cmd 0x%x target %d: UNIT_ATTENTION\n", gdth_next() 2173 nscp->sense_buffer[2] = UNIT_ATTENTION; gdth_next() 2219 /* return UNIT_ATTENTION */ gdth_next() 2220 TRACE2(("cmd 0x%x target %d: UNIT_ATTENTION\n", gdth_next() 2225 nscp->sense_buffer[2] = UNIT_ATTENTION; gdth_next()
|
H A D | sr.c | 206 if (scsi_sense_valid(&sshdr) && sshdr.sense_key == UNIT_ATTENTION) sr_get_events()
|
H A D | scsi_error.c | 391 if (sshdr->sense_key == UNIT_ATTENTION) { scsi_report_sense() 512 case UNIT_ATTENTION: scsi_check_sense()
|
H A D | osst.c | 273 /* scode != UNIT_ATTENTION && */ osst_chk_result() 4578 (SRpnt->sense[2] & 0x0f) == UNIT_ATTENTION) { /* New media? */ __os_scsi_tape_open() 4592 (SRpnt->sense[2] & 0x0f) != UNIT_ATTENTION) __os_scsi_tape_open() 4704 if ((SRpnt->sense[2] & 0x0f) == UNIT_ATTENTION) { __os_scsi_tape_open()
|
H A D | scsi_transport_spi.c | 141 && sshdr->sense_key == UNIT_ATTENTION) spi_execute()
|
H A D | fdomain.c | 1382 if (key != UNIT_ATTENTION do_fdomain_16x0_intr()
|
H A D | dc395x.c | 3343 case UNIT_ATTENTION: srb_done() 3345 "ReqSense: UNIT_ATTENTION cmnd=0x%02x <%02i-%i> stat=%i scan=%i ", srb_done()
|
H A D | st.c | 397 /* scode != UNIT_ATTENTION && */ st_chk_result() 940 if (scode == UNIT_ATTENTION) { /* New media? */ test_ready()
|
H A D | sg.c | 1330 && sshdr.sense_key == UNIT_ATTENTION sg_rq_end_io()
|
H A D | hpsa.c | 271 if (c->err_info->SenseInfo[2] != UNIT_ATTENTION) check_for_unit_attention() 4323 c->err_info->SenseInfo[2] == UNIT_ATTENTION)) wait_for_device_to_become_ready()
|
/linux-4.1.27/drivers/scsi/device_handler/ |
H A D | scsi_dh_hp_sw.c | 79 case UNIT_ATTENTION: tur_done()
|
H A D | scsi_dh_rdac.c | 556 case UNIT_ATTENTION: mode_select_handle_sense() 766 case UNIT_ATTENTION: rdac_check_sense()
|
H A D | scsi_dh_alua.c | 484 case UNIT_ATTENTION: alua_check_sense()
|
H A D | scsi_dh_emc.c | 438 case UNIT_ATTENTION: clariion_check_sense()
|
/linux-4.1.27/drivers/target/ |
H A D | target_core_ua.c | 229 * highest priority UNIT_ATTENTION and ASC/ASCQ without core_scsi3_ua_for_check_condition()
|
H A D | target_core_spc.c | 1181 buf[SPC_SENSE_KEY_OFFSET] = UNIT_ATTENTION; spc_emulate_request_sense()
|
H A D | target_core_transport.c | 2942 buffer[SPC_SENSE_KEY_OFFSET] = UNIT_ATTENTION; transport_send_check_condition_and_sense()
|
/linux-4.1.27/drivers/ide/ |
H A D | ide-cd_ioctl.c | 52 if (!stat || sense.sense_key == UNIT_ATTENTION) ide_cdrom_drive_status()
|
H A D | ide-cd.c | 128 case UNIT_ATTENTION: cdrom_log_sense() 320 case UNIT_ATTENTION: cdrom_decode_status() 479 if (reqbuf->sense_key == UNIT_ATTENTION) ide_cd_queue_pc()
|
H A D | ide-cd_verbose.c | 22 if (sense->sense_key == UNIT_ATTENTION || ide_cd_log_error()
|
/linux-4.1.27/drivers/cdrom/ |
H A D | gdrom.c | 95 {UNIT_ATTENTION, "Device needs attention - disk may have been changed"},
|
/linux-4.1.27/drivers/usb/storage/ |
H A D | datafab.c | 710 info->sense_key = UNIT_ATTENTION; datafab_transport()
|
H A D | jumpshot.c | 636 info->sense_key = UNIT_ATTENTION; jumpshot_transport()
|
H A D | isd200.c | 417 buf->Flags = UNIT_ATTENTION; isd200_build_sense() 423 buf->Flags = UNIT_ATTENTION; isd200_build_sense()
|
H A D | alauda.c | 486 info->sense_key = UNIT_ATTENTION; alauda_check_media()
|
H A D | shuttle_usbat.c | 969 info->sense_key = UNIT_ATTENTION; usbat_flash_check_media()
|
/linux-4.1.27/include/scsi/ |
H A D | scsi.h | 313 #define UNIT_ATTENTION 0x06 macro
|
/linux-4.1.27/drivers/staging/rts5208/ |
H A D | rtsx_chip.h | 161 #define UNIT_ATTENTION 0x06 /* unit attention condition occur */ macro
|
/linux-4.1.27/drivers/block/ |
H A D | cciss_scsi.c | 1618 if (c->err_info->SenseInfo[2] == UNIT_ATTENTION) { wait_for_device_to_become_ready()
|
H A D | cciss.c | 3762 if (c->err_info->SenseInfo[2] != UNIT_ATTENTION) check_for_unit_attention()
|
/linux-4.1.27/drivers/ata/ |
H A D | libata-eh.c | 3305 if (!err_mask || sense_key != UNIT_ATTENTION) atapi_eh_clear_ua()
|
H A D | libata-scsi.c | 883 {0x20, UNIT_ATTENTION, 0x28, 0x00}, ata_to_sense_error()
|