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/u-boot/drivers/block/
Dide.c337 unsigned char res, key, asc, ascq; in atapi_issue_autoreq() local
361 ascq = (sense_data[13]); in atapi_issue_autoreq()
365 sense_data[0], key, asc, ascq); in atapi_issue_autoreq()
378 if ((asc == 0x4) && (ascq == 0x1)) { in atapi_issue_autoreq()
394 ascq); in atapi_issue_autoreq()
396 debug("ERROR Sense key %02X ASC %02X ASCQ %02X\n", key, asc, ascq); in atapi_issue_autoreq()
/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/kernel-headers/original/uapi/linux/
Dcdrom.h722 __u8 ascq; member
/external/syzkaller/sys/linux/
Dcdrom.txt331 ascq int8