Lines Matching refs:asc

459 		if (sshdr->asc == 0x3f && sshdr->ascq == 0x03) {  in scsi_report_sense()
463 } else if (sshdr->asc == 0x3f && sshdr->ascq == 0x0e) { in scsi_report_sense()
470 } else if (sshdr->asc == 0x3f) in scsi_report_sense()
476 if (sshdr->asc == 0x38 && sshdr->ascq == 0x07) { in scsi_report_sense()
484 if (sshdr->asc == 0x29) { in scsi_report_sense()
495 if (sshdr->asc == 0x2a && sshdr->ascq == 0x01) { in scsi_report_sense()
499 } else if (sshdr->asc == 0x2a && sshdr->ascq == 0x06) { in scsi_report_sense()
503 } else if (sshdr->asc == 0x2a && sshdr->ascq == 0x09) { in scsi_report_sense()
507 } else if (sshdr->asc == 0x2a) in scsi_report_sense()
592 if (sshdr.asc == 0x10) /* DIF */ in scsi_check_sense()
595 if (sshdr.asc == 0x44 && sdev->sdev_bflags & BLIST_RETRY_ITF) in scsi_check_sense()
597 if (sshdr.asc == 0xc1 && sshdr.ascq == 0x01 && in scsi_check_sense()
617 if (sshdr.asc != 0x28 || sshdr.ascq != 0x00) { in scsi_check_sense()
628 sshdr.asc == 0x3f && sshdr.ascq == 0x0e) in scsi_check_sense()
634 if ((sshdr.asc == 0x04) && (sshdr.ascq == 0x01)) in scsi_check_sense()
641 (sshdr.asc == 0x04) && (sshdr.ascq == 0x02)) in scsi_check_sense()
651 if (sshdr.asc == 0x27 && sshdr.ascq == 0x07) { in scsi_check_sense()
665 if (sshdr.asc == 0x11 || /* UNRECOVERED READ ERR */ in scsi_check_sense()
666 sshdr.asc == 0x13 || /* AMNF DATA FIELD */ in scsi_check_sense()
667 sshdr.asc == 0x14) { /* RECORD NOT FOUND */ in scsi_check_sense()
681 if (sshdr.asc == 0x20 || /* Invalid command operation code */ in scsi_check_sense()
682 sshdr.asc == 0x21 || /* Logical block address out of range */ in scsi_check_sense()
683 sshdr.asc == 0x22 || /* Invalid function */ in scsi_check_sense()
684 sshdr.asc == 0x24 || /* Invalid field in cdb */ in scsi_check_sense()
685 sshdr.asc == 0x26 || /* Parameter value invalid */ in scsi_check_sense()
686 sshdr.asc == 0x27) { /* Write protected */ in scsi_check_sense()