Searched refs:rp3 (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/mtd/nand/
H A Dnand_ecc.c167 uint32_t rp0, rp1, rp2, rp3, rp4, rp5, rp6, rp7; __nand_calculate_ecc() local
292 * we also need to calculate the row parity for rp0..rp3 __nand_calculate_ecc()
294 * rp3 rp3 rp2 rp2 in little endian and __nand_calculate_ecc()
295 * rp2 rp2 rp3 rp3 in big endian __nand_calculate_ecc()
299 * First calculate rp2 and rp3 __nand_calculate_ecc()
305 rp3 = par & 0xffff; __nand_calculate_ecc()
306 rp3 ^= (rp3 >> 8); __nand_calculate_ecc()
307 rp3 &= 0xff; __nand_calculate_ecc()
309 rp3 = (par >> 16); __nand_calculate_ecc()
310 rp3 ^= (rp3 >> 8); __nand_calculate_ecc()
311 rp3 &= 0xff; __nand_calculate_ecc()
361 (invparity[rp3] << 3) | __nand_calculate_ecc()
380 (invparity[rp3] << 3) | __nand_calculate_ecc()

Completed in 82 milliseconds