Lines Matching refs:syndrome
765 u8 syndrome = 0; in syndrome_from_bit() local
773 syndrome |= ((ecc_table[i] >> (bit % 32)) & 1) << (i / 2); in syndrome_from_bit()
775 return syndrome; in syndrome_from_bit()
786 u8 syndrome; in sbe_ecc_decode() local
795 syndrome = calculate_ecc(cap_high, cap_low) ^ cap_ecc; in sbe_ecc_decode()
799 if (syndrome == syndrome_from_bit(i)) { in sbe_ecc_decode()
807 if ((syndrome >> i) & 0x1) { in sbe_ecc_decode()
820 u32 syndrome; in mpc85xx_mc_check() local
842 syndrome = in_be32(pdata->mc_vbase + MPC85XX_MC_CAPTURE_ECC); in mpc85xx_mc_check()
848 syndrome &= 0xff; in mpc85xx_mc_check()
850 syndrome &= 0xffff; in mpc85xx_mc_check()
869 sbe_ecc_decode(cap_high, cap_low, syndrome, in mpc85xx_mc_check()
883 syndrome ^ (1 << bad_ecc_bit)); in mpc85xx_mc_check()
888 cap_high, cap_low, syndrome); in mpc85xx_mc_check()
898 pfn, err_addr & ~PAGE_MASK, syndrome, in mpc85xx_mc_check()
904 pfn, err_addr & ~PAGE_MASK, syndrome, in mpc85xx_mc_check()