Home
last modified time | relevance | path

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

/external/f2fs-tools/tools/sg_write_buffer/
Dsg_pt_linux_nvme.c174 uint8_t ascq) in build_sense_buffer() argument
180 buf[3] = ascq; in build_sense_buffer()
187 buf[13] = ascq; in build_sense_buffer()
193 mk_sense_asc_ascq(struct sg_pt_linux_scsi * ptp, int sk, int asc, int ascq, in mk_sense_asc_ascq() argument
210 build_sense_buffer(dsense, sbp, sk, asc, ascq); in mk_sense_asc_ascq()
213 asc, ascq); in mk_sense_asc_ascq()
222 uint8_t sstatus, sk, asc, ascq; in mk_sense_from_nvme_status() local
225 ok = sg_nvme_status2scsi(ptp->nvme_status, &sstatus, &sk, &asc, &ascq); in mk_sense_from_nvme_status()
230 ascq = 0x0; /* asc: "WARNING" purposely vague */ in mk_sense_from_nvme_status()
241 build_sense_buffer(dsense, sbp, sk, asc, ascq); in mk_sense_from_nvme_status()
[all …]
Dsg_lib.c249 sg_get_asc_ascq_str(int asc, int ascq, int buff_len, char * buff) in sg_get_asc_ascq_str() argument
263 (ascq >= ei2p->ascq_min) && in sg_get_asc_ascq_str()
264 (ascq <= ei2p->ascq_max)) { in sg_get_asc_ascq_str()
268 scnpr(buff + num, ((rlen > 0) ? rlen : 0), ei2p->text, ascq); in sg_get_asc_ascq_str()
277 eip->ascq == ascq) { in sg_get_asc_ascq_str()
285 "(hex)", asc, ascq); in sg_get_asc_ascq_str()
286 else if (ascq >= 0x80) in sg_get_asc_ascq_str()
288 "ASCQ=%02x (hex)", asc, ascq); in sg_get_asc_ascq_str()
290 scnpr(buff, buff_len, "ASC=%02x, ASCQ=%02x (hex)", asc, ascq); in sg_get_asc_ascq_str()
1681 sg_get_asc_ascq_str(ssh.asc, ssh.ascq, blen, b)); in sg_get_sense_str()
[all …]
/external/f2fs-tools/tools/sg_write_buffer/include/
Dsg_lib.h170 unsigned char ascq; member
201 char * sg_get_asc_ascq_str(int asc, int ascq, int buff_len, char * buff);
Dsg_lib_data.h64 unsigned char ascq; /* additional sense code qualifier */ member
/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/arm-trusted-firmware/include/drivers/
Dufs.h284 uint8_t ascq; member
/external/kernel-headers/original/uapi/linux/
Dcdrom.h725 __u8 ascq; member
/external/arm-trusted-firmware/drivers/ufs/
Dufs.c630 (sense->asc == 0x29) && (sense->ascq == 0)) { in ufs_read_capacity()