Lines Matching refs:syndrome
226 u8 syndrome = 0; in syndrome_from_bit() local
234 syndrome |= ((ecc_table[i] >> (bit % 32)) & 1) << (i / 2); in syndrome_from_bit()
236 return syndrome; in syndrome_from_bit()
247 u8 syndrome; in sbe_ecc_decode() local
256 syndrome = calculate_ecc(cap_high, cap_low) ^ cap_ecc; in sbe_ecc_decode()
260 if (syndrome == syndrome_from_bit(i)) { in sbe_ecc_decode()
268 if ((syndrome >> i) & 0x1) { in sbe_ecc_decode()
283 u32 syndrome; in fsl_mc_check() local
305 syndrome = ddr_in32(pdata->mc_vbase + FSL_MC_CAPTURE_ECC); in fsl_mc_check()
311 syndrome &= 0xff; in fsl_mc_check()
313 syndrome &= 0xffff; in fsl_mc_check()
334 sbe_ecc_decode(cap_high, cap_low, syndrome, in fsl_mc_check()
348 syndrome ^ (1 << bad_ecc_bit)); in fsl_mc_check()
353 cap_high, cap_low, syndrome); in fsl_mc_check()
363 pfn, err_addr & ~PAGE_MASK, syndrome, in fsl_mc_check()
369 pfn, err_addr & ~PAGE_MASK, syndrome, in fsl_mc_check()