Searched refs:rp7 (Results 1 – 2 of 2) sorted by relevance
/linux-3.4.99/Documentation/mtd/ |
D | nand_ecc.txt | 76 rp7 skips 8 bytes then covers 8 etc 120 rp7 = bit7 ^ bit6 ^ bit5 ^ bit4 ^ bit3 ^ bit2 ^ bit1 ^ bit0 ^ rp7; 194 unsigned char rp0, rp1, rp2, rp3, rp4, rp5, rp6, rp7; 200 rp4 = 0; rp5 = 0; rp6 = 0; rp7 = 0; 211 if (i & 0x08) rp7 ^= cur; else rp6 ^= cur; 218 (parity[rp7] << 7) | 303 unsigned long rp0, rp1, rp2, rp3, rp4, rp5, rp6, rp7; 309 rp4 = 0; rp5 = 0; rp6 = 0; rp7 = 0; 318 if (i & 0x02) rp7 ^= cur; else rp6 ^= cur; 333 rp7 ^= (rp7 >> 16); rp7 ^= (rp7 >> 8); rp7 &= 0xff; [all …]
|
/linux-3.4.99/drivers/mtd/nand/ |
D | nand_ecc.c | 168 uint32_t rp0, rp1, rp2, rp3, rp4, rp5, rp6, rp7; in __nand_calculate_ecc() local 342 rp7 = (par ^ rp6) & 0xff; in __nand_calculate_ecc() 358 (invparity[rp7] << 7) | in __nand_calculate_ecc() 377 (invparity[rp7] << 7) | in __nand_calculate_ecc()
|