Home
last modified time | relevance | path

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

12

/external/sg3_utils/testing/
Dsg_chk_asc.c65 unsigned int asc, ascq; in main() local
142 num = sscanf(line, "%xh/%xh", &asc, &ascq); in main()
144 ascq = 999; in main()
174 if (ascq < 999) { in main()
175 cp = sg_get_asc_ascq_str(asc, ascq, sizeof(bb) - 1, bb); in main()
177 fprintf(stderr, "no entry for %x,%x : %s\n", asc, ascq, b); in main()
189 "<missing>\n", asc, ascq, b); in main()
200 "%s\n", asc, ascq, b, cp); in main()
/external/sg3_utils/include/
Dsg_lib.h205 uint8_t ascq; member
243 char * sg_get_asc_ascq_str(int asc, int ascq, int buff_len, char * buff);
248 char * sg_get_additional_sense_str(int asc, int ascq, bool add_sense_leadin,
416 uint8_t asc, uint8_t ascq);
Dsg_lib_data.h74 uint8_t ascq; /* additional sense code qualifier */ member
Dsg_pt_nvme.h132 uint8_t ascq; member
/external/sg3_utils/src/
Dsg_sat_set_features.c200 if ((0x20 == ssh.asc) && (0x0 == ssh.ascq)) { in do_set_features()
215 (ASCQ_ATA_PT_INFO_AVAILABLE == ssh.ascq)) { in do_set_features()
227 if ((0x0 == ssh.asc) && (0x0 == ssh.ascq)) in do_set_features()
Dsg_sat_phy_event.c257 if ((0x20 == ssh.asc) && (0x0 == ssh.ascq)) { in do_read_log_ext()
272 (ASCQ_ATA_PT_INFO_AVAILABLE == ssh.ascq)) { in do_read_log_ext()
284 if ((0x0 == ssh.asc) && (0x0 == ssh.ascq)) in do_read_log_ext()
Dsg_sat_identify.c235 if ((0x20 == ssh.asc) && (0x0 == ssh.ascq)) { in do_identify_dev()
250 (ASCQ_ATA_PT_INFO_AVAILABLE == ssh.ascq)) { in do_identify_dev()
273 if ((0x0 == ssh.asc) && (0x0 == ssh.ascq)) in do_identify_dev()
Dsg_sat_read_gplog.c232 if ((0x20 == ssh.asc) && (0x0 == ssh.ascq)) { in do_read_gplog()
245 (ASCQ_ATA_PT_INFO_AVAILABLE == ssh.ascq)) { in do_read_gplog()
257 if ((0x0 == ssh.asc) && (0x0 == ssh.ascq)) in do_read_gplog()
Dsg_requests.c491 if ((0 == ssh.asc) && (0 == ssh.ascq)) in main()
Dsg_turs.c371 (ssh.ascq == 0x1) && sg_get_sense_info_fld(sense_b, s_len, &info) && in check_for_lu_becoming()
Dsg_dd.c810 (0x64 == ssh.asc) && (0x0 == ssh.ascq)) { in sg_read_low()
Dsg_ses.c5828 const char * aa_str = sg_get_asc_ascq_str(ssh.asc, ssh.ascq, in main()
/external/sg3_utils/lib/
Dsg_lib.c328 sg_get_additional_sense_str(int asc, int ascq, bool add_sense_leadin, in sg_get_additional_sense_str() argument
342 (ascq >= ei2p->ascq_min) && in sg_get_additional_sense_str()
343 (ascq <= ei2p->ascq_max)) { in sg_get_additional_sense_str()
350 sg_scnpr(buff + num, ((rlen > 0) ? rlen : 0), ei2p->text, ascq); in sg_get_additional_sense_str()
360 eip->ascq == ascq) { in sg_get_additional_sense_str()
371 "(hex)", asc, ascq); in sg_get_additional_sense_str()
372 else if (ascq >= 0x80) in sg_get_additional_sense_str()
374 "ASCQ=%02x (hex)", asc, ascq); in sg_get_additional_sense_str()
376 sg_scnpr(buff, buff_len, "ASC=%02x, ASCQ=%02x (hex)", asc, ascq); in sg_get_additional_sense_str()
383 sg_get_asc_ascq_str(int asc, int ascq, int buff_len, char * buff) in sg_get_asc_ascq_str() argument
[all …]
Dsg_pt_linux_nvme.c191 mk_sense_asc_ascq(struct sg_pt_linux_scsi * ptp, int sk, int asc, int ascq, in mk_sense_asc_ascq() argument
208 sg_build_sense_buffer(dsense, sbp, sk, asc, ascq); in mk_sense_asc_ascq()
211 asc, ascq); in mk_sense_asc_ascq()
220 uint8_t sstatus, sk, asc, ascq; in mk_sense_from_nvme_status() local
223 ok = sg_nvme_status2scsi(ptp->nvme_status, &sstatus, &sk, &asc, &ascq); in mk_sense_from_nvme_status()
228 ascq = 0x0; /* asc: "WARNING" purposely vague */ in mk_sense_from_nvme_status()
239 sg_build_sense_buffer(dsense, sbp, sk, asc, ascq); in mk_sense_from_nvme_status()
245 __func__, sstatus, sk, asc, ascq); in mk_sense_from_nvme_status()
920 sntl_result.ascq, vb); in sntl_mode_ss()
Dsg_pt_win32.c1489 mk_sense_asc_ascq(struct sg_pt_win32_scsi * psp, int sk, int asc, int ascq, in mk_sense_asc_ascq() argument
1510 sg_build_sense_buffer(dsense, sbp, sk, asc, ascq); in mk_sense_asc_ascq()
1513 asc, ascq); in mk_sense_asc_ascq()
1523 uint8_t sstatus, sk, asc, ascq; in mk_sense_from_nvme_status() local
1526 ok = sg_nvme_status2scsi(psp->nvme_status, &sstatus, &sk, &asc, &ascq); in mk_sense_from_nvme_status()
1531 ascq = 0x0; /* asc: "WARNING" purposely vague */ in mk_sense_from_nvme_status()
1547 sg_build_sense_buffer(dsense, sbp, sk, asc, ascq); in mk_sense_from_nvme_status()
1553 __func__, sstatus, sk, asc, ascq); in mk_sense_from_nvme_status()
2687 sntl_result.ascq, vb); in sntl_mode_ss()
Dsg_pt_freebsd.c1279 mk_sense_asc_ascq(struct sg_pt_freebsd_scsi * ptp, int sk, int asc, int ascq, in mk_sense_asc_ascq() argument
1297 sg_build_sense_buffer(dsense, sbp, sk, asc, ascq); in mk_sense_asc_ascq()
1300 sk, asc, ascq); in mk_sense_asc_ascq()
1310 uint8_t sstatus, sk, asc, ascq; in mk_sense_from_nvme_status() local
1313 ok = sg_nvme_status2scsi(sct_sc, &sstatus, &sk, &asc, &ascq); in mk_sense_from_nvme_status()
1318 ascq = 0x0; /* asc: "WARNING" purposely vague */ in mk_sense_from_nvme_status()
1332 sg_build_sense_buffer(dsense, sbp, sk, asc, ascq); in mk_sense_from_nvme_status()
1335 sk, asc, ascq); in mk_sense_from_nvme_status()
2127 sntl_result.ascq, vb); in sntl_mode_ss()
Dsg_pr2serr.c1970 sgj_js_nv_ihex(jsp, jop, "additional_sense_code_qualifier", ssh.ascq); in sgj_js_sense()
1972 sg_get_additional_sense_str(ssh.asc, ssh.ascq, false, in sgj_js_sense()
1983 (ASCQ_ATA_PT_INFO_AVAILABLE == ssh.ascq)) { in sgj_js_sense()
/external/sg3_utils/suse/
Dsg3_utils.changes31 * sg_lib_data: sync asc/ascq codes with T10 dated 20131110
92 - sg_lib_data: sync asc/ascq codes with T10 20130117
190 + sb_lib_data: sync asc/ascq codes with spc4r31
210 + sync asc/ascq and version descriptors with spc4r28
229 + sg_lib: sync asc/ascq list to spc4r27
252 + sg_lib: update asc/ascq list to spc4r23
368 * sg_lib: asc/ascq update for spc4r15, osd2r03 service actions,
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dsg_err.c988 void sg_print_asc_ascq(unsigned char asc, unsigned char ascq) in sg_print_asc_ascq() argument
998 if (additional[k].code1 == asc && additional[k].code2 == ascq) { in sg_print_asc_ascq()
1027 (ascq >= additional2[k].code2_min) && in sg_print_asc_ascq()
1028 (ascq <= additional2[k].code2_max)) { in sg_print_asc_ascq()
1031 fprintf(OUTP, additional2[k].text, ascq); in sg_print_asc_ascq()
1036 fprintf(OUTP, "ASC=%2x ASCQ=%2x\n", asc, ascq); in sg_print_asc_ascq()
/external/sg3_utils/
DChangeLog219 - asc/ascq match asc-num.txt @t10 20200708 [spc6r02]
289 - asc/ascq match asc-num.txt @t10 20191014
522 - sg_lib_data: sync asc/ascq codes with T10 20170114
589 - sg_lib_data: sync asc/ascq codes with T10 20151126
654 - sg_lib_data: sync asc/ascq codes with T10 20150423
697 - sg_lib_data: sync asc/ascq codes with T10 20140924
749 - sg_lib_data: sync asc/ascq codes with T10 20140516
800 - sg_lib_data: sync asc/ascq codes with T10 dated 20140320
875 - sg_lib_data: sync asc/ascq codes with T10 20130117
960 - sg_lib_data: sync asc/ascq codes with spc4r31
[all …]
DREADME.details331 checks it against the asc/ascq text strings held in sg_lib_data.c .
/external/arm-trusted-firmware/include/drivers/
Dufs.h295 uint8_t ascq; member
/external/kernel-headers/original/uapi/linux/
Dcdrom.h744 __u8 ascq; member
/external/arm-trusted-firmware/drivers/ufs/
Dufs.c681 (sense->asc == 0x29) && (sense->ascq == 0)) { in ufs_read_capacity()
/external/bcc/libbpf-tools/powerpc/
Dvmlinux_510.h87277 u8 ascq; member
87334 __u8 ascq; member

12