/drivers/target/ |
D | target_core_ua.c | 78 u8 ascq) in core_scsi3_ua_allocate() argument 90 ua->ua_ascq = ascq; in core_scsi3_ua_allocate() 97 if ((ua_p->ua_asc == asc) && (ua_p->ua_ascq == ascq)) { in core_scsi3_ua_allocate() 122 if ((asc == 0x29) && (ascq > ua_p->ua_ascq)) in core_scsi3_ua_allocate() 133 if ((asc == 0x29) || (ascq > ua_p->ua_asc)) in core_scsi3_ua_allocate() 151 asc, ascq); in core_scsi3_ua_allocate() 157 u32 unpacked_lun, u8 asc, u8 ascq) in target_ua_allocate_lun() argument 171 core_scsi3_ua_allocate(deve, asc, ascq); in target_ua_allocate_lun() 194 u8 *ascq) in core_scsi3_ua_for_check_condition() argument 218 *ascq = 0; in core_scsi3_ua_for_check_condition() [all …]
|
D | target_core_transport.c | 3248 u8 ascq; member 3275 .ascq = 0x03, 3280 .ascq = 0x0d, /* NOT ENOUGH UNSOLICITED DATA */ 3293 .ascq = 0x06, /* TOO MANY TARGET DESCRIPTORS */ 3298 .ascq = 0x07, /* UNSUPPORTED TARGET DESCRIPTOR TYPE CODE */ 3303 .ascq = 0x08, /* TOO MANY SEGMENT DESCRIPTORS */ 3308 .ascq = 0x09, /* UNSUPPORTED SEGMENT DESCRIPTOR TYPE CODE */ 3317 .ascq = 0x0c, /* UNEXPECTED_UNSOLICITED_DATA */ 3322 .ascq = 0x05, /* N/A */ 3327 .ascq = 0x13, /* FAILED RETRANSMISSION REQUEST */ [all …]
|
/drivers/scsi/ |
D | scsi_common.c | 169 sshdr->ascq = sense_buffer[3]; in scsi_normalize_sense() 184 sshdr->ascq = sense_buffer[13]; in scsi_normalize_sense() 241 void scsi_build_sense_buffer(int desc, u8 *buf, u8 key, u8 asc, u8 ascq) in scsi_build_sense_buffer() argument 247 buf[3] = ascq; in scsi_build_sense_buffer() 254 buf[13] = ascq; in scsi_build_sense_buffer()
|
D | constants.c | 378 scsi_extd_sense_format(unsigned char asc, unsigned char ascq, const char **fmt) in scsi_extd_sense_format() argument 381 unsigned short code = ((asc << 8) | ascq); in scsi_extd_sense_format() 392 ascq >= additional2[i].code2_min && in scsi_extd_sense_format() 393 ascq <= additional2[i].code2_max) { in scsi_extd_sense_format()
|
D | ps3rom.c | 249 unsigned char *asc, unsigned char *ascq) in DEF_SCSI_QCMD() 256 *ascq = status & 0xff; in DEF_SCSI_QCMD() 268 unsigned char sense_key, asc, ascq; in ps3rom_interrupt() local 315 if (decode_lv1_status(status, &sense_key, &asc, &ascq)) { in ps3rom_interrupt() 320 scsi_build_sense(cmd, 0, sense_key, asc, ascq); in ps3rom_interrupt()
|
D | scsi_logging.c | 242 unsigned char asc, unsigned char ascq) in scsi_format_extd_sense() argument 246 const char *extd_sense_str = scsi_extd_sense_format(asc, ascq, in scsi_format_extd_sense() 254 "(%s%x)", extd_sense_fmt, ascq); in scsi_format_extd_sense() 260 if (ascq >= 0x80) in scsi_format_extd_sense() 264 "ASCQ=0x%x ", ascq); in scsi_format_extd_sense() 338 sshdr->asc, sshdr->ascq); in scsi_log_print_sense_hdr()
|
D | scsi_error.c | 458 if (sshdr->asc == 0x3f && sshdr->ascq == 0x03) { in scsi_report_sense() 462 } else if (sshdr->asc == 0x3f && sshdr->ascq == 0x0e) { in scsi_report_sense() 477 if (sshdr->asc == 0x38 && sshdr->ascq == 0x07) { in scsi_report_sense() 496 if (sshdr->asc == 0x2a && sshdr->ascq == 0x01) { in scsi_report_sense() 500 } else if (sshdr->asc == 0x2a && sshdr->ascq == 0x06) { in scsi_report_sense() 504 } else if (sshdr->asc == 0x2a && sshdr->ascq == 0x09) { in scsi_report_sense() 593 if (sshdr.asc == 0xc1 && sshdr.ascq == 0x01 && in scsi_check_sense() 613 if (sshdr.asc != 0x28 || sshdr.ascq != 0x00) { in scsi_check_sense() 624 sshdr.asc == 0x3f && sshdr.ascq == 0x0e) in scsi_check_sense() 630 if ((sshdr.asc == 0x04) && (sshdr.ascq == 0x01)) in scsi_check_sense() [all …]
|
D | ch.c | 127 unsigned char ascq; member 135 .ascq = 0x01, 140 .ascq = 0x01, 145 .ascq = 0x0D, 150 .ascq = 0x0E, 155 .ascq = 0x00, 174 ch_err[i].ascq == sshdr->ascq) { in ch_find_errno()
|
D | sr_ioctl.c | 227 sshdr->ascq == 0x01) { in sr_do_ioctl() 251 sshdr->ascq == 0x00) in sr_do_ioctl() 305 && sshdr.asc == 0x04 && sshdr.ascq == 0x01) in sr_drive_status() 323 && sshdr.asc == 0x04 && sshdr.ascq == 0x02) in sr_drive_status()
|
D | scsi_lib.c | 700 sshdr.asc == 0x20 && sshdr.ascq == 0x00) && in scsi_io_completion_action() 726 switch (sshdr.ascq) { in scsi_io_completion_action() 758 if ((sshdr.asc == 0x0C && sshdr.ascq == 0x12) || in scsi_io_completion_action() 760 (sshdr.ascq == 0x0E || sshdr.ascq == 0x0F))) { in scsi_io_completion_action() 865 if ((sshdr.asc == 0x0) && (sshdr.ascq == 0x1d)) in scsi_io_completion_nz_result() 2155 (sshdr->asc == 0x20) && (sshdr->ascq == 0)) { in scsi_mode_sense() 3238 void scsi_build_sense(struct scsi_cmnd *scmd, int desc, u8 key, u8 asc, u8 ascq) in scsi_build_sense() argument 3240 scsi_build_sense_buffer(desc, scmd->sense_buffer, key, asc, ascq); in scsi_build_sense()
|
D | virtio_scsi.c | 315 u8 ascq = virtio32_to_cpu(vscsi->vdev, event->reason) >> 8; in virtscsi_handle_param_change() local 326 if (asc == 0x2a && (ascq == 0x00 || ascq == 0x01 || ascq == 0x09)) in virtscsi_handle_param_change()
|
D | storvsc_drv.c | 1036 u8 asc, u8 ascq) in storvsc_handle_error() argument 1048 if ((asc == 0x2a) && (ascq == 0x9)) { in storvsc_handle_error() 1064 if ((asc == 0x3f) && (ascq != 0x03) && in storvsc_handle_error() 1065 (ascq != 0x0e)) { in storvsc_handle_error() 1157 sense_hdr.ascq); in storvsc_command_completion()
|
D | sd.c | 1734 (sshdr->asc == 0x74 && sshdr->ascq == 0x71)) /* drive is password locked */ in sd_sync_cache() 2178 if (sshdr.asc == 4 && sshdr.ascq == 3) in sd_spinup_disk() 2180 if (sshdr.asc == 4 && sshdr.ascq == 0xb) in sd_spinup_disk() 2182 if (sshdr.asc == 4 && sshdr.ascq == 0xc) in sd_spinup_disk() 2184 if (sshdr.asc == 4 && sshdr.ascq == 0x1b) in sd_spinup_disk() 2351 sshdr.ascq == 0x00) in read_capacity_16() 2358 sshdr.asc == 0x29 && sshdr.ascq == 0x00) in read_capacity_16() 2435 sshdr.asc == 0x29 && sshdr.ascq == 0x00) in read_capacity_10() 2842 sshdr.asc == 0x24 && sshdr.ascq == 0x0) in sd_read_cache_type()
|
/drivers/scsi/device_handler/ |
D | scsi_dh_rdac.c | 501 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x01) in mode_select_handle_sense() 508 if (sense_hdr->asc == 0x91 && sense_hdr->ascq == 0x36) in mode_select_handle_sense() 521 sense_hdr->sense_key, sense_hdr->asc, sense_hdr->ascq); in mode_select_handle_sense() 667 sense_hdr->sense_key, sense_hdr->asc, sense_hdr->ascq); in rdac_check_sense() 671 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x01) in rdac_check_sense() 677 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x81) in rdac_check_sense() 684 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0xA1) in rdac_check_sense() 690 if (sense_hdr->asc == 0xA1 && sense_hdr->ascq == 0x02) in rdac_check_sense() 698 if (sense_hdr->asc == 0x94 && sense_hdr->ascq == 0x01) { in rdac_check_sense() 708 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x00) in rdac_check_sense() [all …]
|
D | scsi_dh_hp_sw.c | 53 if (sshdr->asc == 0x04 && sshdr->ascq == 2) { in tur_done() 68 sshdr->ascq); in tur_done() 139 if (sshdr.asc == 0x04 && sshdr.ascq == 3) { in hp_sw_start_stop() 155 sshdr.sense_key, sshdr.asc, sshdr.ascq); in hp_sw_start_stop()
|
D | scsi_dh_emc.c | 108 sshdr->asc, sshdr->ascq); in trespass_endio() 111 sshdr->ascq == 0x00) { in trespass_endio() 121 sshdr->ascq == 0x03) { in trespass_endio() 288 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x03) in clariion_check_sense() 305 if (sense_hdr->asc == 0x25 && sense_hdr->ascq == 0x01) in clariion_check_sense() 319 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x00) in clariion_check_sense()
|
D | scsi_dh_alua.c | 417 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x0a) { in alua_check_sense() 431 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x00) { in alua_check_sense() 440 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x04) in alua_check_sense() 445 if (sense_hdr->asc == 0x2a && sense_hdr->ascq == 0x01) in alua_check_sense() 450 if (sense_hdr->asc == 0x2a && sense_hdr->ascq == 0x06) { in alua_check_sense() 457 if (sense_hdr->asc == 0x2a && sense_hdr->ascq == 0x07) { in alua_check_sense() 464 if (sense_hdr->asc == 0x3f && sense_hdr->ascq == 0x03) in alua_check_sense() 469 if (sense_hdr->asc == 0x3f && sense_hdr->ascq == 0x0e) in alua_check_sense() 498 sense_hdr.asc == 0x04 && sense_hdr.ascq == 0x0a) in alua_tur() 600 sense_hdr.asc == 0x04 && sense_hdr.ascq == 0x0a) { in alua_rtpg()
|
/drivers/usb/storage/ |
D | debug.c | 147 unsigned char ascq) in usb_stor_show_sense() argument 152 what = scsi_extd_sense_format(asc, ascq, &fmt); in usb_stor_show_sense() 160 usb_stor_dbg(us, "%s: %s (%s%x)\n", keystr, what, fmt, ascq); in usb_stor_show_sense()
|
D | debug.h | 35 unsigned char asc, unsigned char ascq);
|
/drivers/ata/ |
D | libata-zpodd.c | 107 unsigned int ret, asc, ascq, add_len; in zpready() local 130 ascq = sense_buf[13]; in zpready() 137 return asc == 0x3a && ascq == 0x01; in zpready()
|
D | libata-scsi.c | 192 u8 sk, u8 asc, u8 ascq) in ata_scsi_set_sense() argument 199 scsi_build_sense(cmd, d_sense, sk, asc, ascq); in ata_scsi_set_sense() 421 sshdr.asc == 0 && sshdr.ascq == 0x1d) in ata_cmd_ioctl() 505 sshdr.asc == 0 && sshdr.ascq == 0x1d) in ata_task_ioctl() 724 u8 *asc, u8 *ascq, int verbose) in ata_to_sense_error() argument 802 *ascq = sense_table[i][3]; in ata_to_sense_error() 817 *ascq = stat_table[i][3]; in ata_to_sense_error() 828 *ascq = 0x00; in ata_to_sense_error() 833 id, drv_stat, drv_err, *sk, *asc, *ascq); in ata_to_sense_error() 861 u8 sense_key, asc, ascq; in ata_gen_passthru_sense() local [all …]
|
/drivers/scsi/mpt3sas/ |
D | mpt3sas_trigger_diag.c | 337 u8 ascq) in mpt3sas_trigger_scsi() argument 363 __func__, sense_key, asc, ascq)); in mpt3sas_trigger_scsi() 379 if (!(scsi_trigger->ASCQ == 0xFF || scsi_trigger->ASCQ == ascq)) in mpt3sas_trigger_scsi() 396 event_data.u.scsi.ASCQ = ascq; in mpt3sas_trigger_scsi()
|
/drivers/staging/rts5208/ |
D | rtsx_scsi.h | 127 u8 sense_key, u32 info, u8 asc, u8 ascq,
|
/drivers/scsi/lpfc/ |
D | lpfc_nl.h | 148 uint8_t ascq; member
|
/drivers/scsi/mpi3mr/ |
D | mpi3mr_os.c | 2070 u8 asc, u8 ascq) in mpi3mr_build_sense_buffer() argument 2076 buf[3] = ascq; in mpi3mr_build_sense_buffer() 2083 buf[13] = ascq; in mpi3mr_build_sense_buffer() 2100 u8 ascq = 0; in mpi3mr_map_eedp_error() local 2104 ascq = 0x01; in mpi3mr_map_eedp_error() 2107 ascq = 0x02; in mpi3mr_map_eedp_error() 2110 ascq = 0x03; in mpi3mr_map_eedp_error() 2113 ascq = 0x00; in mpi3mr_map_eedp_error() 2118 0x10, ascq); in mpi3mr_map_eedp_error() 2313 sshdr.asc, sshdr.ascq); in mpi3mr_process_op_reply_desc()
|