Home
last modified time | relevance | path

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

12

/openbmc/qemu/scsi/
H A Dutils.c287 .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 Dscsi-bus.c491 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 Dconstants.h194 #define UNIT_ATTENTION 0x06 macro
/openbmc/linux/include/scsi/
H A Dscsi_proto.h223 #define UNIT_ATTENTION 0x06 macro
/openbmc/qemu/hw/ide/
H A Datapi.c341 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 Dscsi_dh_hp_sw.c49 case UNIT_ATTENTION: in tur_done()
H A Dscsi_dh_alua.c443 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 Dscsi_dh_rdac.c497 case UNIT_ATTENTION: in mode_select_handle_sense()
709 case UNIT_ATTENTION: in rdac_check_sense()
H A Dscsi_dh_emc.c321 case UNIT_ATTENTION: in clariion_check_sense()
/openbmc/linux/drivers/target/
H A Dtarget_core_ua.c221 *key = UNIT_ATTENTION; in core_scsi3_ua_for_check_condition()
/openbmc/linux/drivers/scsi/
H A Dses.c101 (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 Dscsi_lib.c712 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 Dsr_ioctl.c219 case UNIT_ATTENTION: in sr_do_ioctl()
H A Dscsi_scan.c696 if ((sshdr.sense_key == UNIT_ATTENTION) && in scsi_probe_lun()
1501 if (sshdr.sense_key != UNIT_ATTENTION) in scsi_report_lun_scan()
H A Dsd.c1557 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 Dscsi_debug.c1078 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 Dsr.c180 if (scsi_sense_valid(&sshdr) && sshdr.sense_key == UNIT_ATTENTION) in sr_get_events()
H A Dscsi_ioctl.c103 case UNIT_ATTENTION: in ioctl_internal_command()
H A Dscsi_error.c462 if (sshdr->sense_key == UNIT_ATTENTION) { in scsi_report_sense()
624 case UNIT_ATTENTION: in scsi_check_sense()
/openbmc/qemu/tests/qtest/
H A Dvirtio-scsi-test.c152 g_assert_cmpint(resp.sense[2], ==, UNIT_ATTENTION); in qvirtio_scsi_init()
/openbmc/linux/drivers/usb/storage/
H A Djumpshot.c632 info->sense_key = UNIT_ATTENTION; in jumpshot_transport()
H A Disd200.c408 buf->Flags = UNIT_ATTENTION; in isd200_build_sense()
414 buf->Flags = UNIT_ATTENTION; in isd200_build_sense()
H A Ddatafab.c706 info->sense_key = UNIT_ATTENTION; in datafab_transport()
/openbmc/linux/drivers/cdrom/
H A Dgdrom.c79 {UNIT_ATTENTION, "Device needs attention - disk may have been changed"},
/openbmc/linux/drivers/staging/rts5208/
H A Drtsx_chip.h152 #define UNIT_ATTENTION 0x06 /* unit attention condition occur */ macro

12