Searched refs:ECC_MASK (Results 1 – 1 of 1) sorted by relevance
186 #define ECC_MASK 0x05555555 /* 14 ECC parity bits. */ in rt_hw_nand_ecc_check() macro201 eccPn = syndrome & ECC_MASK; /* Get 14 odd parity bits. */ in rt_hw_nand_ecc_check()202 eccP = (syndrome >> 1) & ECC_MASK; /* Get 14 even parity bits. */ in rt_hw_nand_ecc_check()204 if ((eccPn ^ eccP) == ECC_MASK) /* 1-bit correctable error ? */ in rt_hw_nand_ecc_check()242 #undef ECC_MASK in rt_hw_nand_ecc_check()
Completed in 5 milliseconds