/linux-6.3-rc2/drivers/scsi/device_handler/ |
A D | scsi_dh_hp_sw.c | 48 switch (sshdr->sense_key) { in tur_done() 67 HP_SW_NAME, sshdr->sense_key, sshdr->asc, in tur_done() 143 switch (sshdr.sense_key) { in hp_sw_start_stop() 161 sshdr.sense_key, sshdr.asc, sshdr.ascq); in hp_sw_start_stop()
|
A D | scsi_dh_emc.c | 107 "command.\n", CLARIION_NAME, sshdr->sense_key, in trespass_endio() 110 if (sshdr->sense_key == 0x05 && sshdr->asc == 0x04 && in trespass_endio() 120 } else if (sshdr->sense_key == 0x02 && sshdr->asc == 0x04 && in trespass_endio() 289 switch (sense_hdr->sense_key) { in clariion_check_sense()
|
A D | scsi_dh_rdac.c | 494 switch (sense_hdr->sense_key) { in mode_select_handle_sense() 521 sense_hdr->sense_key, sense_hdr->asc, sense_hdr->ascq); in mode_select_handle_sense() 669 sense_hdr->sense_key, sense_hdr->asc, sense_hdr->ascq); in rdac_check_sense() 671 switch (sense_hdr->sense_key) { in rdac_check_sense()
|
A D | scsi_dh_alua.c | 423 switch (sense_hdr->sense_key) { in alua_check_sense() 505 if (sense_hdr.sense_key == NOT_READY && in alua_tur() 598 sense_hdr.sense_key == ILLEGAL_REQUEST) { in alua_rtpg() 607 if (sense_hdr.sense_key == NOT_READY && in alua_rtpg() 615 if (sense_hdr.sense_key == UNIT_ATTENTION) in alua_rtpg()
|
/linux-6.3-rc2/drivers/ata/ |
A D | libata-zpodd.c | 106 u8 sense_key, *sense_buf; in zpready() local 110 ret = atapi_eh_tur(dev, &sense_key); in zpready() 112 if (!ret || sense_key != NOT_READY) in zpready() 116 ret = atapi_eh_request_sense(dev, sense_buf, sense_key); in zpready()
|
A D | libata-sata.c | 1468 char sense_key, asc, ascq; in ata_eh_analyze_ncq_error() local 1470 sense_key = (qc->result_tf.auxiliary >> 16) & 0xff; in ata_eh_analyze_ncq_error() 1473 if (ata_scsi_sense_is_valid(sense_key, asc, ascq)) { in ata_eh_analyze_ncq_error() 1474 ata_scsi_set_sense(dev, qc->scsicmd, sense_key, asc, in ata_eh_analyze_ncq_error()
|
/linux-6.3-rc2/drivers/scsi/ |
A D | ps3rom.c | 246 static int decode_lv1_status(u64 status, unsigned char *sense_key, in DEF_SCSI_QCMD() 252 *sense_key = (status >> 16) & 0xff; in DEF_SCSI_QCMD() 266 unsigned char sense_key, asc, ascq; in ps3rom_interrupt() local 313 if (decode_lv1_status(status, &sense_key, &asc, &ascq)) { in ps3rom_interrupt() 318 scsi_build_sense(cmd, 0, sense_key, asc, ascq); in ps3rom_interrupt()
|
A D | scsi_common.c | 165 sshdr->sense_key = (sense_buffer[1] & 0xf); in scsi_normalize_sense() 177 sshdr->sense_key = (sense_buffer[2] & 0xf); in scsi_normalize_sense()
|
A D | sr_ioctl.c | 218 switch (sshdr->sense_key) { in sr_do_ioctl() 307 if (scsi_sense_valid(&sshdr) && sshdr.sense_key == NOT_READY in sr_drive_status() 325 if (scsi_sense_valid(&sshdr) && sshdr.sense_key == NOT_READY in sr_drive_status() 332 if (sshdr.sense_key == NOT_READY && sshdr.asc == 0x04) in sr_drive_status()
|
A D | ses.c | 100 (sshdr.sense_key == NOT_READY || in ses_recv_diag() 101 (sshdr.sense_key == UNIT_ATTENTION && sshdr.asc == 0x29))); in ses_recv_diag() 144 (sshdr.sense_key == NOT_READY || in ses_send_diag() 145 (sshdr.sense_key == UNIT_ATTENTION && sshdr.asc == 0x29))); in ses_send_diag()
|
A D | sd.c | 1490 switch (sshdr->sense_key) { in media_not_present() 1735 if (sshdr->sense_key == ILLEGAL_REQUEST && in sd_scsi_to_pr_err() 2028 switch (sshdr.sense_key) { in sd_done() 2157 if (sense_valid && sshdr.sense_key == NOT_READY) { in sd_spinup_disk() 2194 sshdr.sense_key == UNIT_ATTENTION && in sd_spinup_disk() 2284 sense_valid && sshdr->sense_key == NOT_READY) in read_capacity_error() 2337 sshdr.sense_key == ILLEGAL_REQUEST && in read_capacity_16() 2345 sshdr.sense_key == UNIT_ATTENTION && in read_capacity_16() 2425 sshdr.sense_key == UNIT_ATTENTION && in read_capacity_10() 2833 sshdr.sense_key == ILLEGAL_REQUEST && in sd_read_cache_type() [all …]
|
A D | scsi_logging.c | 276 sense_txt = scsi_sense_key_string(sshdr->sense_key); in scsi_format_sense_hdr() 282 "0x%x ", sshdr->sense_key); in scsi_format_sense_hdr()
|
A D | st.c | 372 scode = STp->buffer->cmdstat.sense_hdr.sense_key; in st_chk_result() 705 (cmdstatp->sense_hdr.sense_key == NO_SENSE || in write_behind_check() 802 (cmdstatp->sense_hdr.sense_key == NO_SENSE || in st_flush_write_buffer() 989 scode = cmdstatp->sense_hdr.sense_key; in test_ready() 1397 (cmdstatp->sense_hdr.sense_key == NO_SENSE || in st_flush() 1795 scode = cmdstatp->sense_hdr.sense_key; in st_write() 1968 if (cmdstatp->sense_hdr.sense_key == BLANK_CHECK) in read_tape() 1977 if (cmdstatp->sense_hdr.sense_key == MEDIUM_ERROR) { in read_tape() 2058 cmdstatp->sense_hdr.sense_key == BLANK_CHECK) { in read_tape() 3019 if (cmdstatp->sense_hdr.sense_key == NO_SENSE || in st_int_ioctl() [all …]
|
A D | scsi_lib.c | 714 switch (sshdr.sense_key) { in scsi_io_completion_action() 901 if (sense_valid && (sshdr.sense_key == RECOVERED_ERROR)) { in scsi_io_completion_nz_result() 2219 if ((sshdr->sense_key == ILLEGAL_REQUEST) && in scsi_mode_sense() 2236 sshdr->sense_key == UNIT_ATTENTION && in scsi_mode_sense() 2298 sshdr->sense_key == UNIT_ATTENTION) in scsi_test_unit_ready() 2301 sshdr->sense_key == UNIT_ATTENTION && --retries); in scsi_test_unit_ready()
|
/linux-6.3-rc2/drivers/usb/storage/ |
A D | jumpshot.c | 100 unsigned char sense_key; member 417 info->sense_key = 0x05; in jumpshot_handle_mode_sense() 590 ptr[2] = info->sense_key; in jumpshot_transport() 629 info->sense_key = NO_SENSE; in jumpshot_transport() 632 info->sense_key = UNIT_ATTENTION; in jumpshot_transport() 640 info->sense_key = 0x05; in jumpshot_transport()
|
A D | datafab.c | 65 unsigned char sense_key; member 492 info->sense_key = 0x05; in datafab_handle_mode_sense() 664 ptr[2] = info->sense_key; in datafab_transport() 703 info->sense_key = NO_SENSE; in datafab_transport() 706 info->sense_key = UNIT_ATTENTION; in datafab_transport() 714 info->sense_key = 0x05; in datafab_transport()
|
A D | alauda.c | 105 unsigned char sense_key; member 466 info->sense_key = 0x02; in alauda_check_media() 478 info->sense_key = UNIT_ATTENTION; in alauda_check_media() 1203 ptr[2] = info->sense_key; in alauda_transport() 1222 info->sense_key = 0x05; in alauda_transport()
|
A D | shuttle_usbat.c | 138 unsigned char sense_key; member 938 info->sense_key = 0x02; in usbat_flash_check_media() 962 info->sense_key = UNIT_ATTENTION; in usbat_flash_check_media() 1796 ptr[2] = info->sense_key; in usbat_flash_transport() 1815 info->sense_key = 0x05; in usbat_flash_transport()
|
A D | transport.c | 805 sshdr.response_code, sshdr.sense_key, in usb_stor_invoke_transport() 808 usb_stor_show_sense(us, sshdr.sense_key, sshdr.asc, sshdr.ascq); in usb_stor_invoke_transport() 823 if (sshdr.sense_key == 0 && sshdr.asc == 0 && sshdr.ascq == 0 && in usb_stor_invoke_transport()
|
/linux-6.3-rc2/drivers/cdrom/ |
A D | gdrom.c | 70 int sense_key; member 415 int sense_key; in gdrom_getsense() local 441 sense_key = sense[1] & 0x0F; in gdrom_getsense() 442 if (sense_key < ARRAY_SIZE(sense_texts)) in gdrom_getsense() 443 pr_info("%s\n", sense_texts[sense_key].text); in gdrom_getsense() 445 pr_err("Unknown sense key: %d\n", sense_key); in gdrom_getsense() 448 if (sense_key < 2) in gdrom_getsense()
|
/linux-6.3-rc2/drivers/scsi/mpt3sas/ |
A D | mpt3sas_trigger_diag.c | 336 mpt3sas_trigger_scsi(struct MPT3SAS_ADAPTER *ioc, u8 sense_key, u8 asc, in mpt3sas_trigger_scsi() argument 363 __func__, sense_key, asc, ascq)); in mpt3sas_trigger_scsi() 375 if (scsi_trigger->SenseKey != sense_key) in mpt3sas_trigger_scsi() 394 event_data.u.scsi.SenseKey = sense_key; in mpt3sas_trigger_scsi()
|
/linux-6.3-rc2/include/scsi/ |
A D | scsi_common.h | 52 u8 sense_key; member
|
/linux-6.3-rc2/drivers/staging/rts5208/ |
A D | rtsx_scsi.h | 127 u8 sense_key, u32 info, u8 asc, u8 ascq,
|
/linux-6.3-rc2/drivers/scsi/lpfc/ |
A D | lpfc_nl.h | 146 uint8_t sense_key; member
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | cdrom.h | 733 __u8 sense_key : 4; member 735 __u8 sense_key : 4; member
|