Lines Matching refs:ecc_error
2940 const struct hisi_sas_hw_error *ecc_error; in one_bit_ecc_error_process_v2_hw() local
2945 ecc_error = &one_bit_ecc_errors[i]; in one_bit_ecc_error_process_v2_hw()
2946 if (irq_value & ecc_error->irq_msk) { in one_bit_ecc_error_process_v2_hw()
2947 val = hisi_sas_read32(hisi_hba, ecc_error->reg); in one_bit_ecc_error_process_v2_hw()
2948 val &= ecc_error->msk; in one_bit_ecc_error_process_v2_hw()
2949 val >>= ecc_error->shift; in one_bit_ecc_error_process_v2_hw()
2951 ecc_error->msg, val); in one_bit_ecc_error_process_v2_hw()
2960 const struct hisi_sas_hw_error *ecc_error; in multi_bit_ecc_error_process_v2_hw() local
2965 ecc_error = &multi_bit_ecc_errors[i]; in multi_bit_ecc_error_process_v2_hw()
2966 if (irq_value & ecc_error->irq_msk) { in multi_bit_ecc_error_process_v2_hw()
2967 val = hisi_sas_read32(hisi_hba, ecc_error->reg); in multi_bit_ecc_error_process_v2_hw()
2968 val &= ecc_error->msk; in multi_bit_ecc_error_process_v2_hw()
2969 val >>= ecc_error->shift; in multi_bit_ecc_error_process_v2_hw()
2971 ecc_error->msg, irq_value, val); in multi_bit_ecc_error_process_v2_hw()