Lines Matching refs:syndrome
727 u8 syndrome = 0; in syndrome_from_bit() local
735 syndrome |= ((ecc_table[i] >> (bit % 32)) & 1) << (i / 2); in syndrome_from_bit()
737 return syndrome; in syndrome_from_bit()
748 u8 syndrome; in sbe_ecc_decode() local
757 syndrome = calculate_ecc(cap_high, cap_low) ^ cap_ecc; in sbe_ecc_decode()
761 if (syndrome == syndrome_from_bit(i)) { in sbe_ecc_decode()
769 if ((syndrome >> i) & 0x1) { in sbe_ecc_decode()
782 u32 syndrome; in mpc85xx_mc_check() local
804 syndrome = in_be32(pdata->mc_vbase + MPC85XX_MC_CAPTURE_ECC); in mpc85xx_mc_check()
810 syndrome &= 0xff; in mpc85xx_mc_check()
812 syndrome &= 0xffff; in mpc85xx_mc_check()
831 sbe_ecc_decode(cap_high, cap_low, syndrome, in mpc85xx_mc_check()
845 syndrome ^ (1 << bad_ecc_bit)); in mpc85xx_mc_check()
850 cap_high, cap_low, syndrome); in mpc85xx_mc_check()
860 pfn, err_addr & ~PAGE_MASK, syndrome, in mpc85xx_mc_check()
866 pfn, err_addr & ~PAGE_MASK, syndrome, in mpc85xx_mc_check()