Home
last modified time | relevance | path

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

12

/drivers/scsi/
Dconstants.c1155 scsi_extd_sense_format(unsigned char asc, unsigned char ascq) { in scsi_extd_sense_format() argument
1158 unsigned short code = ((asc << 8) | ascq); in scsi_extd_sense_format()
1165 additional2[i].code2_min >= ascq && in scsi_extd_sense_format()
1166 additional2[i].code2_max <= ascq) in scsi_extd_sense_format()
1174 scsi_show_extd_sense(unsigned char asc, unsigned char ascq) in scsi_show_extd_sense() argument
1176 const char *extd_sense_fmt = scsi_extd_sense_format(asc, ascq); in scsi_show_extd_sense()
1181 printk(extd_sense_fmt, ascq); in scsi_show_extd_sense()
1187 ascq); in scsi_show_extd_sense()
1188 if (ascq >= 0x80) in scsi_show_extd_sense()
1190 ascq); in scsi_show_extd_sense()
[all …]
Dps3rom.c263 unsigned char *asc, unsigned char *ascq) in decode_lv1_status() argument
270 *ascq = status & 0xff; in decode_lv1_status()
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()
Dch.c115 unsigned char ascq; member
123 .ascq = 0x01,
128 .ascq = 0x01,
133 .ascq = 0x0D,
138 .ascq = 0x0E,
143 .ascq = 0x00,
162 ch_err[i].ascq == sshdr->ascq) { in ch_find_errno()
Dscsi_error.c295 if ((sshdr.asc == 0x04) && (sshdr.ascq == 0x01)) in scsi_check_sense()
302 (sshdr.asc == 0x04) && (sshdr.ascq == 0x02)) in scsi_check_sense()
1882 sshdr->ascq = sense_buffer[3]; in scsi_normalize_sense()
1897 sshdr->ascq = sense_buffer[13]; in scsi_normalize_sense()
2012 void scsi_build_sense_buffer(int desc, u8 *buf, u8 key, u8 asc, u8 ascq) in scsi_build_sense_buffer() argument
2018 buf[3] = ascq; in scsi_build_sense_buffer()
2025 buf[13] = ascq; in scsi_build_sense_buffer()
Dsd.c1041 sshdr.ascq)); in sd_done()
1174 if (sshdr.asc == 4 && sshdr.ascq == 3) in sd_spinup_disk()
1176 if (sshdr.asc == 4 && sshdr.ascq == 0xb) in sd_spinup_disk()
1178 if (sshdr.asc == 4 && sshdr.ascq == 0xc) in sd_spinup_disk()
1626 sshdr.asc == 0x24 && sshdr.ascq == 0x0) in sd_read_cache_type()
2159 scsi_show_extd_sense(sshdr->asc, sshdr->ascq); in sd_print_sense_hdr()
Dsr_ioctl.c227 sshdr.ascq == 0x01) { in sr_do_ioctl()
251 sshdr.ascq == 0x00) in sr_do_ioctl()
Dscsi_ioctl.c110 sshdr.asc, sshdr.ascq); in ioctl_internal_command()
Dosst.h100 u8 ascq; /* Additional Sense Code Qualifier */ member
Dscsi_lib.c1029 sshdr.asc == 0x20 && sshdr.ascq == 0x00) && in scsi_io_completion()
1054 switch (sshdr.ascq) { in scsi_io_completion()
2138 (sshdr->asc == 0x20) && (sshdr->ascq == 0)) { in scsi_mode_sense()
/drivers/ide/
Dide-cd_verbose.c28 sense->asc, sense->ascq); in ide_cd_log_error()
275 sense->ascq); in ide_cd_log_error()
282 if (!(sense->ascq >= 0x80 && sense->ascq <= 0xdd)) in ide_cd_log_error()
283 key |= sense->ascq; in ide_cd_log_error()
307 s, sense->asc, sense->ascq); in ide_cd_log_error()
Dide-floppy.c138 floppy->ascq = buf[13]; in ide_floppy_callback()
148 floppy->asc, floppy->ascq); in ide_floppy_callback()
163 floppy->ascq == 0x00) in ide_floppy_report_error()
169 floppy->asc, floppy->ascq); in ide_floppy_report_error()
Dide-gd.h29 u8 sense_key, asc, ascq; member
Dide-tape.c209 u8 sense_key, asc, ascq; member
407 tape->ascq = sense[13]; in idetape_analyze_error()
410 pc->c[0], tape->sense_key, tape->asc, tape->ascq); in idetape_analyze_error()
441 && tape->asc == 0x0 && tape->ascq == 0x2)) { in idetape_analyze_error()
679 (tape->ascq == 1 || tape->ascq == 8))) { in idetape_issue_pc()
685 tape->ascq); in idetape_issue_pc()
1072 if ((tape->sense_key == 2 && tape->asc == 4 && tape->ascq == 2) in idetape_wait_ready()
1081 (tape->ascq == 1 || tape->ascq == 8))) in idetape_wait_ready()
Dide-cd_ioctl.c64 && sense.ascq == 0x04) in ide_cdrom_drive_status()
73 if (sense.asc == 0x3a && sense.ascq == 1) in ide_cdrom_drive_status()
Dide-floppy_ioctl.c205 floppy->ascq == 4) in ide_floppy_get_format_progress()
/drivers/scsi/device_handler/
Dscsi_dh_emc.c134 sshdr.asc, sshdr.ascq); in trespass_endio()
137 (sshdr.ascq == 0x00)) { in trespass_endio()
147 (sshdr.ascq == 0x03)) { in trespass_endio()
406 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x03) in clariion_check_sense()
423 if (sense_hdr->asc == 0x25 && sense_hdr->ascq == 0x01) in clariion_check_sense()
437 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x00) in clariion_check_sense()
476 sshdr.sense_key, sshdr.asc, sshdr.ascq); in clariion_std_inquiry()
523 sshdr.sense_key, sshdr.asc, sshdr.ascq); in clariion_send_inquiry()
Dscsi_dh_alua.c425 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x0a) in alua_check_sense()
430 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x0b) in alua_check_sense()
435 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x0c) in alua_check_sense()
440 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x12) in alua_check_sense()
447 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x00) in alua_check_sense()
452 if (sense_hdr->asc == 0x2a && sense_hdr->ascq == 0x06) { in alua_check_sense()
458 if (sense_hdr->asc == 0x2a && sense_hdr->ascq == 0x07) { in alua_check_sense()
501 sense_hdr.asc, sense_hdr.ascq); in alua_stpg()
544 sense_hdr.asc, sense_hdr.ascq); in alua_rtpg()
Dscsi_dh_hp_sw.c76 if ((sshdr.asc == 0x04) && (sshdr.ascq == 2)) { in tur_done()
90 sshdr.ascq); in tur_done()
173 if ((sshdr.asc == 0x04) && (sshdr.ascq == 3)) { in start_done()
187 sshdr.ascq); in start_done()
Dscsi_dh_rdac.c460 sense_hdr.ascq; in mode_select_handle_sense()
552 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x81) in rdac_check_sense()
559 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0xA1) in rdac_check_sense()
567 if (sense_hdr->asc == 0x94 && sense_hdr->ascq == 0x01) { in rdac_check_sense()
577 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x00) in rdac_check_sense()
/drivers/usb/storage/
Ddebug.c162 unsigned char ascq) { in usb_stor_show_sense() argument
167 what = scsi_extd_sense_format(asc, ascq); in usb_stor_show_sense()
175 US_DEBUGPX(what, ascq); in usb_stor_show_sense()
Ddebug.h52 unsigned char asc, unsigned char ascq );
Dsddr55.c44 #define set_sense_info(sk, asc, ascq) \ argument
48 info->sense_data[13] = ascq; \
/drivers/scsi/lpfc/
Dlpfc_nl.h146 uint8_t ascq; member
/drivers/ata/
Dlibata-scsi.c287 static void ata_scsi_set_sense(struct scsi_cmnd *cmd, u8 sk, u8 asc, u8 ascq) in ata_scsi_set_sense() argument
291 scsi_build_sense_buffer(0, cmd->sense_buffer, sk, asc, ascq); in ata_scsi_set_sense()
535 sshdr.asc == 0 && sshdr.ascq == 0) in ata_cmd_ioctl()
621 sshdr.asc == 0 && sshdr.ascq == 0) in ata_task_ioctl()
809 u8 *asc, u8 *ascq, int verbose) in ata_to_sense_error() argument
869 *ascq = sense_table[i][3]; in ata_to_sense_error()
884 *ascq = stat_table[i][3]; in ata_to_sense_error()
897 *ascq = 0x00; in ata_to_sense_error()
903 id, drv_stat, drv_err, *sk, *asc, *ascq); in ata_to_sense_error()
/drivers/scsi/libsas/
Dsas_ata.c523 shdr.ascq == 1)) { in sas_execute_task()
543 shdr.asc, shdr.ascq); in sas_execute_task()

12