/drivers/target/ |
D | target_core_ua.c | 91 u8 ascq) in core_scsi3_ua_allocate() argument 103 ua->ua_ascq = ascq; in core_scsi3_ua_allocate() 110 if ((ua_p->ua_asc == asc) && (ua_p->ua_ascq == ascq)) { in core_scsi3_ua_allocate() 135 if ((asc == 0x29) && (ascq > ua_p->ua_ascq)) in core_scsi3_ua_allocate() 146 if ((asc == 0x29) || (ascq > ua_p->ua_asc)) in core_scsi3_ua_allocate() 165 asc, ascq); in core_scsi3_ua_allocate() 172 u32 unpacked_lun, u8 asc, u8 ascq) in target_ua_allocate_lun() argument 186 core_scsi3_ua_allocate(deve, asc, ascq); in target_ua_allocate_lun() 208 u8 *ascq) in core_scsi3_ua_for_check_condition() argument 248 *ascq = ua->ua_ascq; in core_scsi3_ua_for_check_condition() [all …]
|
D | target_core_transport.c | 2859 u8 ascq; member 2886 .ascq = 0x03, 2891 .ascq = 0x0d, /* NOT ENOUGH UNSOLICITED DATA */ 2904 .ascq = 0x06, /* TOO MANY TARGET DESCRIPTORS */ 2909 .ascq = 0x07, /* UNSUPPORTED TARGET DESCRIPTOR TYPE CODE */ 2914 .ascq = 0x08, /* TOO MANY SEGMENT DESCRIPTORS */ 2919 .ascq = 0x09, /* UNSUPPORTED SEGMENT DESCRIPTOR TYPE CODE */ 2928 .ascq = 0x0c, /* UNEXPECTED_UNSOLICITED_DATA */ 2933 .ascq = 0x05, /* N/A */ 2938 .ascq = 0x13, /* FAILED RETRANSMISSION REQUEST */ [all …]
|
/drivers/scsi/device_handler/ |
D | scsi_dh_alua.c | 249 sense_hdr.asc, sense_hdr.ascq); in stpg_endio() 450 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x0a) in alua_check_sense() 455 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x0b) in alua_check_sense() 460 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x0c) in alua_check_sense() 465 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x12) in alua_check_sense() 471 sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x02) in alua_check_sense() 479 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x00) in alua_check_sense() 484 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x04) in alua_check_sense() 489 if (sense_hdr->asc == 0x2a && sense_hdr->ascq == 0x01) in alua_check_sense() 494 if (sense_hdr->asc == 0x2a && sense_hdr->ascq == 0x06) in alua_check_sense() [all …]
|
D | scsi_dh_emc.c | 128 sshdr.asc, sshdr.ascq); in trespass_endio() 131 (sshdr.ascq == 0x00)) { in trespass_endio() 141 (sshdr.ascq == 0x03)) { in trespass_endio() 400 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x03) in clariion_check_sense() 417 if (sense_hdr->asc == 0x25 && sense_hdr->ascq == 0x01) in clariion_check_sense() 431 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x00) in clariion_check_sense() 470 sshdr.sense_key, sshdr.asc, sshdr.ascq); in clariion_std_inquiry() 517 sshdr.sense_key, sshdr.asc, sshdr.ascq); in clariion_send_inquiry()
|
D | scsi_dh_rdac.c | 554 if (sense_hdr.asc == 0x04 && sense_hdr.ascq == 0x01) in mode_select_handle_sense() 561 if (sense_hdr.asc == 0x91 && sense_hdr.ascq == 0x36) in mode_select_handle_sense() 574 sense_hdr.sense_key, sense_hdr.asc, sense_hdr.ascq); in mode_select_handle_sense() 720 sense_hdr->sense_key, sense_hdr->asc, sense_hdr->ascq); in rdac_check_sense() 724 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x01) in rdac_check_sense() 730 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x81) in rdac_check_sense() 737 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0xA1) in rdac_check_sense() 743 if (sense_hdr->asc == 0xA1 && sense_hdr->ascq == 0x02) in rdac_check_sense() 751 if (sense_hdr->asc == 0x94 && sense_hdr->ascq == 0x01) { in rdac_check_sense() 761 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x00) in rdac_check_sense() [all …]
|
D | scsi_dh_hp_sw.c | 77 if ((sshdr.asc == 0x04) && (sshdr.ascq == 2)) { in tur_done() 91 sshdr.ascq); in tur_done() 174 if ((sshdr.asc == 0x04) && (sshdr.ascq == 3)) { in start_done() 188 sshdr.ascq); in start_done()
|
/drivers/ide/ |
D | ide-cd_verbose.c | 30 sense->asc, sense->ascq); in ide_cd_log_error() 277 sense->ascq); in ide_cd_log_error() 284 if (!(sense->ascq >= 0x80 && sense->ascq <= 0xdd)) in ide_cd_log_error() 285 key |= sense->ascq; in ide_cd_log_error() 309 s, sense->asc, sense->ascq); in ide_cd_log_error()
|
D | ide-floppy.c | 84 floppy->ascq = buf[13]; in ide_floppy_callback() 94 floppy->asc, floppy->ascq); in ide_floppy_callback() 112 floppy->ascq == 0x00) in ide_floppy_report_error() 118 floppy->asc, floppy->ascq); in ide_floppy_report_error()
|
D | ide-tape.c | 174 u8 sense_key, asc, ascq; member 277 tape->ascq = sense[13]; in idetape_analyze_error() 281 rq->cmd[0], tape->sense_key, tape->asc, tape->ascq); in idetape_analyze_error() 308 && tape->asc == 0x0 && tape->ascq == 0x2)) { in idetape_analyze_error() 463 (tape->ascq == 1 || tape->ascq == 8))) { in ide_tape_issue_pc() 469 tape->ascq); in ide_tape_issue_pc() 693 if ((tape->sense_key == 2 && tape->asc == 4 && tape->ascq == 2) in idetape_wait_ready() 702 (tape->ascq == 1 || tape->ascq == 8))) in idetape_wait_ready()
|
D | ide-gd.h | 27 u8 sense_key, asc, ascq; member
|
D | ide-cd_ioctl.c | 65 && sense.ascq == 0x04) in ide_cdrom_drive_status() 74 if (sense.asc == 0x3a && sense.ascq == 1) in ide_cdrom_drive_status()
|
/drivers/scsi/ |
D | scsi_common.c | 159 sshdr->ascq = sense_buffer[3]; in scsi_normalize_sense() 174 sshdr->ascq = sense_buffer[13]; in scsi_normalize_sense() 231 void scsi_build_sense_buffer(int desc, u8 *buf, u8 key, u8 asc, u8 ascq) in scsi_build_sense_buffer() argument 237 buf[3] = ascq; in scsi_build_sense_buffer() 244 buf[13] = ascq; in scsi_build_sense_buffer()
|
D | constants.c | 1197 scsi_extd_sense_format(unsigned char asc, unsigned char ascq, const char **fmt) in scsi_extd_sense_format() argument 1200 unsigned short code = ((asc << 8) | ascq); in scsi_extd_sense_format() 1208 ascq >= additional2[i].code2_min && in scsi_extd_sense_format() 1209 ascq <= additional2[i].code2_max) { in scsi_extd_sense_format()
|
D | scsi_logging.c | 246 unsigned char asc, unsigned char ascq) in scsi_format_extd_sense() argument 250 const char *extd_sense_str = scsi_extd_sense_format(asc, ascq, in scsi_format_extd_sense() 258 "(%s%x)", extd_sense_fmt, ascq); in scsi_format_extd_sense() 264 if (ascq >= 0x80) in scsi_format_extd_sense() 268 "ASCQ=0x%x ", ascq); in scsi_format_extd_sense() 342 sshdr->asc, sshdr->ascq); in scsi_log_print_sense_hdr()
|
D | ps3rom.c | 263 unsigned char *asc, unsigned char *ascq) in DEF_SCSI_QCMD() 270 *ascq = status & 0xff; in DEF_SCSI_QCMD() 282 unsigned char sense_key, asc, ascq; in ps3rom_interrupt() local 329 if (decode_lv1_status(status, &sense_key, &asc, &ascq)) { in ps3rom_interrupt() 334 scsi_build_sense_buffer(0, cmd->sense_buffer, sense_key, asc, ascq); in ps3rom_interrupt()
|
D | ch.c | 126 unsigned char ascq; member 134 .ascq = 0x01, 139 .ascq = 0x01, 144 .ascq = 0x0D, 149 .ascq = 0x0E, 154 .ascq = 0x00, 173 ch_err[i].ascq == sshdr->ascq) { in ch_find_errno()
|
D | scsi_error.c | 394 if (sshdr->asc == 0x3f && sshdr->ascq == 0x03) { in scsi_report_sense() 398 } else if (sshdr->asc == 0x3f && sshdr->ascq == 0x0e) { in scsi_report_sense() 413 if (sshdr->asc == 0x38 && sshdr->ascq == 0x07) { in scsi_report_sense() 421 if (sshdr->asc == 0x2a && sshdr->ascq == 0x01) { in scsi_report_sense() 425 } else if (sshdr->asc == 0x2a && sshdr->ascq == 0x06) { in scsi_report_sense() 429 } else if (sshdr->asc == 0x2a && sshdr->ascq == 0x09) { in scsi_report_sense() 531 if (sshdr.asc != 0x28 || sshdr.ascq != 0x00) { in scsi_check_sense() 542 sshdr.asc == 0x3f && sshdr.ascq == 0x0e) in scsi_check_sense() 548 if ((sshdr.asc == 0x04) && (sshdr.ascq == 0x01)) in scsi_check_sense() 555 (sshdr.asc == 0x04) && (sshdr.ascq == 0x02)) in scsi_check_sense() [all …]
|
D | sr_ioctl.c | 224 sshdr.ascq == 0x01) { in sr_do_ioctl() 248 sshdr.ascq == 0x00) in sr_do_ioctl() 302 && sshdr.asc == 0x04 && sshdr.ascq == 0x01) in sr_drive_status() 320 && sshdr.asc == 0x04 && sshdr.ascq == 0x02) in sr_drive_status()
|
/drivers/nvme/host/ |
D | scsi.c | 303 u8 asc, u8 ascq) in nvme_trans_completion() argument 324 resp[3] = ascq; in nvme_trans_completion() 343 u8 status, sense_key, asc, ascq; in nvme_trans_status_code() local 357 ascq = SCSI_ASCQ_CAUSE_NOT_REPORTABLE; in nvme_trans_status_code() 363 ascq = SCSI_ASCQ_CAUSE_NOT_REPORTABLE; in nvme_trans_status_code() 369 ascq = SCSI_ASCQ_CAUSE_NOT_REPORTABLE; in nvme_trans_status_code() 375 ascq = SCSI_ASCQ_CAUSE_NOT_REPORTABLE; in nvme_trans_status_code() 381 ascq = SCSI_ASCQ_POWER_LOSS_EXPECTED; in nvme_trans_status_code() 387 ascq = SCSI_ASCQ_CAUSE_NOT_REPORTABLE; in nvme_trans_status_code() 393 ascq = SCSI_ASCQ_CAUSE_NOT_REPORTABLE; in nvme_trans_status_code() [all …]
|
/drivers/usb/storage/ |
D | debug.c | 165 unsigned char ascq) in usb_stor_show_sense() argument 170 what = scsi_extd_sense_format(asc, ascq, &fmt); in usb_stor_show_sense() 179 US_DEBUGPX("%s (%s%x)\n", what, fmt, ascq); in usb_stor_show_sense()
|
D | debug.h | 52 unsigned char asc, unsigned char ascq);
|
/drivers/scsi/mpt3sas/ |
D | mpt3sas_trigger_diag.c | 298 u8 ascq) in mpt3sas_trigger_scsi() argument 324 ioc->name, __func__, sense_key, asc, ascq)); in mpt3sas_trigger_scsi() 340 if (!(scsi_trigger->ASCQ == 0xFF || scsi_trigger->ASCQ == ascq)) in mpt3sas_trigger_scsi() 357 event_data.u.scsi.ASCQ = ascq; in mpt3sas_trigger_scsi()
|
/drivers/ata/ |
D | libata-zpodd.c | 106 unsigned int ret, asc, ascq, add_len; in zpready() local 129 ascq = sense_buf[13]; in zpready() 136 return asc == 0x3a && ascq == 0x01; in zpready()
|
/drivers/staging/rts5208/ |
D | rtsx_scsi.h | 139 u8 sense_key, u32 info, u8 asc, u8 ascq,
|
/drivers/scsi/lpfc/ |
D | lpfc_nl.h | 146 uint8_t ascq; member
|