Home
last modified time | relevance | path

Searched refs:ascq (Results 1 – 25 of 64) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/target/
Dtarget_core_ua.c78 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 …]
Dtarget_core_transport.c3137 u8 ascq; member
3164 .ascq = 0x03,
3169 .ascq = 0x0d, /* NOT ENOUGH UNSOLICITED DATA */
3182 .ascq = 0x06, /* TOO MANY TARGET DESCRIPTORS */
3187 .ascq = 0x07, /* UNSUPPORTED TARGET DESCRIPTOR TYPE CODE */
3192 .ascq = 0x08, /* TOO MANY SEGMENT DESCRIPTORS */
3197 .ascq = 0x09, /* UNSUPPORTED SEGMENT DESCRIPTOR TYPE CODE */
3206 .ascq = 0x0c, /* UNEXPECTED_UNSOLICITED_DATA */
3211 .ascq = 0x05, /* N/A */
3216 .ascq = 0x13, /* FAILED RETRANSMISSION REQUEST */
[all …]
/kernel/linux/linux-5.10/drivers/ide/
Dide-cd_verbose.c31 sense->asc, sense->ascq); in ide_cd_log_error()
278 sense->ascq); in ide_cd_log_error()
285 if (!(sense->ascq >= 0x80 && sense->ascq <= 0xdd)) in ide_cd_log_error()
286 key |= sense->ascq; in ide_cd_log_error()
310 s, sense->asc, sense->ascq); in ide_cd_log_error()
Dide-gd.h28 u8 sense_key, asc, ascq; member
Dide-floppy.c86 floppy->ascq = buf[13]; in ide_floppy_callback()
96 floppy->asc, floppy->ascq); in ide_floppy_callback()
114 floppy->ascq == 0x00) in ide_floppy_report_error()
120 floppy->asc, floppy->ascq); in ide_floppy_report_error()
Dide-tape.c175 u8 sense_key, asc, ascq; member
278 tape->ascq = sense[13]; in idetape_analyze_error()
282 rq->cmd[0], tape->sense_key, tape->asc, tape->ascq); in idetape_analyze_error()
309 && tape->asc == 0x0 && tape->ascq == 0x2)) { in idetape_analyze_error()
464 (tape->ascq == 1 || tape->ascq == 8))) { in ide_tape_issue_pc()
470 tape->ascq); in ide_tape_issue_pc()
696 if ((tape->sense_key == 2 && tape->asc == 4 && tape->ascq == 2) in idetape_wait_ready()
705 (tape->ascq == 1 || tape->ascq == 8))) in idetape_wait_ready()
/kernel/linux/linux-5.10/drivers/scsi/
Dscsi_common.c160 sshdr->ascq = sense_buffer[3]; in scsi_normalize_sense()
175 sshdr->ascq = sense_buffer[13]; in scsi_normalize_sense()
232 void scsi_build_sense_buffer(int desc, u8 *buf, u8 key, u8 asc, u8 ascq) in scsi_build_sense_buffer() argument
238 buf[3] = ascq; in scsi_build_sense_buffer()
245 buf[13] = ascq; in scsi_build_sense_buffer()
Dconstants.c378 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()
Dscsi_logging.c241 unsigned char asc, unsigned char ascq) in scsi_format_extd_sense() argument
245 const char *extd_sense_str = scsi_extd_sense_format(asc, ascq, in scsi_format_extd_sense()
253 "(%s%x)", extd_sense_fmt, ascq); in scsi_format_extd_sense()
259 if (ascq >= 0x80) in scsi_format_extd_sense()
263 "ASCQ=0x%x ", ascq); in scsi_format_extd_sense()
337 sshdr->asc, sshdr->ascq); in scsi_log_print_sense_hdr()
Dps3rom.c251 unsigned char *asc, unsigned char *ascq) in DEF_SCSI_QCMD()
258 *ascq = status & 0xff; in DEF_SCSI_QCMD()
270 unsigned char sense_key, asc, ascq; in ps3rom_interrupt() local
317 if (decode_lv1_status(status, &sense_key, &asc, &ascq)) { in ps3rom_interrupt()
322 scsi_build_sense_buffer(0, cmd->sense_buffer, sense_key, asc, ascq); in ps3rom_interrupt()
Dscsi_error.c422 if (sshdr->asc == 0x3f && sshdr->ascq == 0x03) { in scsi_report_sense()
426 } else if (sshdr->asc == 0x3f && sshdr->ascq == 0x0e) { in scsi_report_sense()
441 if (sshdr->asc == 0x38 && sshdr->ascq == 0x07) { in scsi_report_sense()
455 if (sshdr->asc == 0x2a && sshdr->ascq == 0x01) { in scsi_report_sense()
459 } else if (sshdr->asc == 0x2a && sshdr->ascq == 0x06) { in scsi_report_sense()
463 } else if (sshdr->asc == 0x2a && sshdr->ascq == 0x09) { in scsi_report_sense()
551 if (sshdr.asc == 0xc1 && sshdr.ascq == 0x01 && in scsi_check_sense()
571 if (sshdr.asc != 0x28 || sshdr.ascq != 0x00) { in scsi_check_sense()
582 sshdr.asc == 0x3f && sshdr.ascq == 0x0e) in scsi_check_sense()
588 if ((sshdr.asc == 0x04) && (sshdr.ascq == 0x01)) in scsi_check_sense()
[all …]
Dch.c127 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()
Dsr_ioctl.c221 sshdr->ascq == 0x01) { in sr_do_ioctl()
245 sshdr->ascq == 0x00) in sr_do_ioctl()
299 && sshdr.asc == 0x04 && sshdr.ascq == 0x01) in sr_drive_status()
317 && sshdr.asc == 0x04 && sshdr.ascq == 0x02) in sr_drive_status()
/kernel/linux/linux-5.10/drivers/scsi/device_handler/
Dscsi_dh_hp_sw.c53 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()
Dscsi_dh_rdac.c501 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 …]
Dscsi_dh_emc.c108 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()
Dscsi_dh_alua.c413 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x0a) { in alua_check_sense()
422 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x00) { in alua_check_sense()
431 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x04) in alua_check_sense()
436 if (sense_hdr->asc == 0x2a && sense_hdr->ascq == 0x01) in alua_check_sense()
441 if (sense_hdr->asc == 0x2a && sense_hdr->ascq == 0x06) { in alua_check_sense()
448 if (sense_hdr->asc == 0x2a && sense_hdr->ascq == 0x07) { in alua_check_sense()
455 if (sense_hdr->asc == 0x3f && sense_hdr->ascq == 0x03) in alua_check_sense()
460 if (sense_hdr->asc == 0x3f && sense_hdr->ascq == 0x0e) in alua_check_sense()
489 sense_hdr.asc == 0x04 && sense_hdr.ascq == 0x0a) in alua_tur()
583 sense_hdr.asc == 0x04 && sense_hdr.ascq == 0x0a) { in alua_rtpg()
/kernel/linux/linux-5.10/drivers/usb/storage/
Ddebug.c147 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()
Ddebug.h35 unsigned char asc, unsigned char ascq);
/kernel/linux/linux-5.10/include/scsi/
Dscsi_common.h54 u8 ascq; member
72 extern void scsi_build_sense_buffer(int desc, u8 *buf, u8 key, u8 asc, u8 ascq);
Dscsi_dbg.h61 scsi_extd_sense_format(unsigned char asc, unsigned char ascq, const char **fmt) in scsi_extd_sense_format() argument
/kernel/linux/linux-5.10/drivers/ata/
Dlibata-zpodd.c107 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()
/kernel/linux/linux-5.10/drivers/scsi/mpt3sas/
Dmpt3sas_trigger_diag.c303 u8 ascq) in mpt3sas_trigger_scsi() argument
329 __func__, sense_key, asc, ascq)); in mpt3sas_trigger_scsi()
345 if (!(scsi_trigger->ASCQ == 0xFF || scsi_trigger->ASCQ == ascq)) in mpt3sas_trigger_scsi()
362 event_data.u.scsi.ASCQ = ascq; in mpt3sas_trigger_scsi()
/kernel/linux/linux-5.10/drivers/staging/rts5208/
Drtsx_scsi.h127 u8 sense_key, u32 info, u8 asc, u8 ascq,
/kernel/linux/linux-5.10/drivers/scsi/lpfc/
Dlpfc_nl.h148 uint8_t ascq; member

123