/openbmc/qemu/scsi/ |
H A D | utils.c | 287 .key = UNIT_ATTENTION, .asc = 0x2a, .ascq = 0x09 292 .key = UNIT_ATTENTION, .asc = 0x29, .ascq = 0x00 297 .key = UNIT_ATTENTION, .asc = 0x29, .ascq = 0x02 302 .key = UNIT_ATTENTION, .asc = 0x3a, .ascq = 0x00 307 .key = UNIT_ATTENTION, .asc = 0x28, .ascq = 0x00 312 .key = UNIT_ATTENTION, .asc = 0x3f, .ascq = 0x0e 317 .key = UNIT_ATTENTION, .asc = 0x29, .ascq = 0x04 360 case UNIT_ATTENTION: in scsi_sense_is_guest_recoverable() 397 case UNIT_ATTENTION: in scsi_sense_to_errno()
|
/openbmc/qemu/hw/scsi/ |
H A D | scsi-bus.c | 491 if (req->dev->unit_attention.key == UNIT_ATTENTION) { in scsi_fetch_unit_attention_sense() 493 } else if (req->bus->unit_attention.key == UNIT_ATTENTION) { in scsi_fetch_unit_attention_sense() 822 if ((d->unit_attention.key == UNIT_ATTENTION || in scsi_req_new() 823 bus->unit_attention.key == UNIT_ATTENTION) && in scsi_req_new() 903 if (req->dev->unit_attention.key == UNIT_ATTENTION) { in scsi_clear_reported_luns_changed() 905 } else if (req->bus->unit_attention.key == UNIT_ATTENTION) { in scsi_clear_reported_luns_changed() 1666 if (sense.key != UNIT_ATTENTION) { in scsi_ua_precedence() 1696 if (sense.key != UNIT_ATTENTION) { in scsi_bus_set_ua() 1714 if (sense.key != UNIT_ATTENTION) { in scsi_device_set_ua()
|
/openbmc/qemu/include/scsi/ |
H A D | constants.h | 194 #define UNIT_ATTENTION 0x06 macro
|
/openbmc/linux/include/scsi/ |
H A D | scsi_proto.h | 223 #define UNIT_ATTENTION 0x06 macro
|
/openbmc/qemu/hw/ide/ |
H A D | atapi.c | 341 s->error = MC_ERR | (UNIT_ATTENTION << 4); in ide_atapi_cmd_check_status() 701 if (s->sense_key == UNIT_ATTENTION) { in cmd_request_sense() 1324 if (s->sense_key == UNIT_ATTENTION && !(cmd->flags & ALLOW_UA)) { in ide_atapi_cmd() 1342 ide_atapi_cmd_error(s, UNIT_ATTENTION, ASC_MEDIUM_MAY_HAVE_CHANGED); in ide_atapi_cmd()
|
/openbmc/linux/drivers/scsi/device_handler/ |
H A D | scsi_dh_hp_sw.c | 49 case UNIT_ATTENTION: in tur_done()
|
H A D | scsi_dh_alua.c | 443 case UNIT_ATTENTION: in alua_check_sense() 518 sense_hdr.sense_key == UNIT_ATTENTION) && in alua_tur() 628 if (sense_hdr.sense_key == UNIT_ATTENTION) in alua_rtpg()
|
H A D | scsi_dh_rdac.c | 497 case UNIT_ATTENTION: in mode_select_handle_sense() 709 case UNIT_ATTENTION: in rdac_check_sense()
|
H A D | scsi_dh_emc.c | 321 case UNIT_ATTENTION: in clariion_check_sense()
|
/openbmc/linux/drivers/target/ |
H A D | target_core_ua.c | 221 *key = UNIT_ATTENTION; in core_scsi3_ua_for_check_condition()
|
/openbmc/linux/drivers/scsi/ |
H A D | ses.c | 101 (sshdr.sense_key == UNIT_ATTENTION && sshdr.asc == 0x29))); in ses_recv_diag() 145 (sshdr.sense_key == UNIT_ATTENTION && sshdr.asc == 0x29))); in ses_send_diag()
|
H A D | scsi_lib.c | 712 case UNIT_ATTENTION: in scsi_io_completion_action() 2242 sshdr->sense_key == UNIT_ATTENTION && in scsi_mode_sense() 2304 sshdr->sense_key == UNIT_ATTENTION) in scsi_test_unit_ready() 2307 sshdr->sense_key == UNIT_ATTENTION && --retries); in scsi_test_unit_ready()
|
H A D | sr_ioctl.c | 219 case UNIT_ATTENTION: in sr_do_ioctl()
|
H A D | scsi_scan.c | 696 if ((sshdr.sense_key == UNIT_ATTENTION) && in scsi_probe_lun() 1501 if (sshdr.sense_key != UNIT_ATTENTION) in scsi_report_lun_scan()
|
H A D | sd.c | 1557 case UNIT_ATTENTION: in media_not_present() 2285 sense_valid && sshdr.sense_key == UNIT_ATTENTION))); in sd_spinup_disk() 2340 sshdr.sense_key == UNIT_ATTENTION && in sd_spinup_disk() 2491 sshdr.sense_key == UNIT_ATTENTION && in read_capacity_16() 2571 sshdr.sense_key == UNIT_ATTENTION && in read_capacity_10()
|
H A D | scsi_debug.c | 1078 mk_sense_buffer(scp, UNIT_ATTENTION, UA_RESET_ASC, in make_ua() 1084 mk_sense_buffer(scp, UNIT_ATTENTION, UA_RESET_ASC, in make_ua() 1090 mk_sense_buffer(scp, UNIT_ATTENTION, UA_RESET_ASC, in make_ua() 1096 mk_sense_buffer(scp, UNIT_ATTENTION, UA_CHANGED_ASC, in make_ua() 1102 mk_sense_buffer(scp, UNIT_ATTENTION, UA_CHANGED_ASC, in make_ua() 1108 mk_sense_buffer(scp, UNIT_ATTENTION, in make_ua() 1115 mk_sense_buffer(scp, UNIT_ATTENTION, in make_ua() 1132 mk_sense_buffer(scp, UNIT_ATTENTION, in make_ua()
|
H A D | sr.c | 180 if (scsi_sense_valid(&sshdr) && sshdr.sense_key == UNIT_ATTENTION) in sr_get_events()
|
H A D | scsi_ioctl.c | 103 case UNIT_ATTENTION: in ioctl_internal_command()
|
H A D | scsi_error.c | 462 if (sshdr->sense_key == UNIT_ATTENTION) { in scsi_report_sense() 624 case UNIT_ATTENTION: in scsi_check_sense()
|
/openbmc/qemu/tests/qtest/ |
H A D | virtio-scsi-test.c | 152 g_assert_cmpint(resp.sense[2], ==, UNIT_ATTENTION); in qvirtio_scsi_init()
|
/openbmc/linux/drivers/usb/storage/ |
H A D | jumpshot.c | 632 info->sense_key = UNIT_ATTENTION; in jumpshot_transport()
|
H A D | isd200.c | 408 buf->Flags = UNIT_ATTENTION; in isd200_build_sense() 414 buf->Flags = UNIT_ATTENTION; in isd200_build_sense()
|
H A D | datafab.c | 706 info->sense_key = UNIT_ATTENTION; in datafab_transport()
|
/openbmc/linux/drivers/cdrom/ |
H A D | gdrom.c | 79 {UNIT_ATTENTION, "Device needs attention - disk may have been changed"},
|
/openbmc/linux/drivers/staging/rts5208/ |
H A D | rtsx_chip.h | 152 #define UNIT_ATTENTION 0x06 /* unit attention condition occur */ macro
|