Lines Matching full:asc
464 if (sshdr->asc == 0x3f && sshdr->ascq == 0x03) { in scsi_report_sense()
468 } else if (sshdr->asc == 0x3f && sshdr->ascq == 0x0e) { in scsi_report_sense()
475 } else if (sshdr->asc == 0x3f) in scsi_report_sense()
481 if (sshdr->asc == 0x38 && sshdr->ascq == 0x07) { in scsi_report_sense()
489 if (sshdr->asc == 0x29) { in scsi_report_sense()
500 if (sshdr->asc == 0x2a && sshdr->ascq == 0x01) { in scsi_report_sense()
504 } else if (sshdr->asc == 0x2a && sshdr->ascq == 0x06) { in scsi_report_sense()
508 } else if (sshdr->asc == 0x2a && sshdr->ascq == 0x09) { in scsi_report_sense()
512 } else if (sshdr->asc == 0x2a) in scsi_report_sense()
598 if (sshdr.asc == 0x10) /* DIF */ in scsi_check_sense()
609 if (sshdr.asc == 0x2e && in scsi_check_sense()
617 if (sshdr.asc == 0x44 && sdev->sdev_bflags & BLIST_RETRY_ITF) in scsi_check_sense()
619 if (sshdr.asc == 0xc1 && sshdr.ascq == 0x01 && in scsi_check_sense()
639 if (sshdr.asc != 0x28 || sshdr.ascq != 0x00) { in scsi_check_sense()
646 * reported a UA with an ASC/ASCQ of 3F 0E - in scsi_check_sense()
650 sshdr.asc == 0x3f && sshdr.ascq == 0x0e) in scsi_check_sense()
656 if ((sshdr.asc == 0x04) && (sshdr.ascq == 0x01)) in scsi_check_sense()
663 (sshdr.asc == 0x04) && (sshdr.ascq == 0x02)) in scsi_check_sense()
673 if (sshdr.asc == 0x27 && sshdr.ascq == 0x07) { in scsi_check_sense()
687 if (sshdr.asc == 0x11 || /* UNRECOVERED READ ERR */ in scsi_check_sense()
688 sshdr.asc == 0x13 || /* AMNF DATA FIELD */ in scsi_check_sense()
689 sshdr.asc == 0x14) { /* RECORD NOT FOUND */ in scsi_check_sense()
703 if (sshdr.asc == 0x20 || /* Invalid command operation code */ in scsi_check_sense()
704 sshdr.asc == 0x21 || /* Logical block address out of range */ in scsi_check_sense()
705 sshdr.asc == 0x22 || /* Invalid function */ in scsi_check_sense()
706 sshdr.asc == 0x24 || /* Invalid field in cdb */ in scsi_check_sense()
707 sshdr.asc == 0x26 || /* Parameter value invalid */ in scsi_check_sense()
708 sshdr.asc == 0x27) { /* Write protected */ in scsi_check_sense()
714 if (sshdr.asc == 0x55 && sshdr.ascq == 0x0a) { in scsi_check_sense()