Lines Matching refs:ascq
249 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()
1685 (ASCQ_ATA_PT_INFO_AVAILABLE == ssh.ascq)) { in sg_get_sense_str()
1688 sg_get_asc_ascq_str(ssh.asc, ssh.ascq, blen, b)); in sg_get_sense_str()
1694 sg_get_asc_ascq_str(ssh.asc, ssh.ascq, blen, b)); in sg_get_sense_str()
1965 sshp->ascq = sbp[3]; in sg_scsi_normalize_sense()
1976 sshp->ascq = sbp[13]; in sg_scsi_normalize_sense()
2007 if ((0x20 == ssh.asc) && (0x0 == ssh.ascq)) in sg_err_category_sense()