Searched refs:rp6 (Results 1 – 2 of 2) sorted by relevance
/linux-2.6.39/drivers/mtd/nand/ |
D | nand_ecc.c | 168 uint32_t rp0, rp1, rp2, rp3, rp4, rp5, rp6, rp7; in __nand_calculate_ecc() local 178 rp6 = 0; in __nand_calculate_ecc() 201 rp6 ^= tmppar; in __nand_calculate_ecc() 212 rp6 ^= cur; in __nand_calculate_ecc() 215 rp6 ^= cur; in __nand_calculate_ecc() 226 rp6 ^= cur; in __nand_calculate_ecc() 230 rp6 ^= cur; in __nand_calculate_ecc() 243 rp6 ^= cur; in __nand_calculate_ecc() 246 rp6 ^= cur; in __nand_calculate_ecc() 271 rp6 ^= (rp6 >> 16); in __nand_calculate_ecc() [all …]
|
/linux-2.6.39/Documentation/mtd/ |
D | nand_ecc.txt | 75 rp6 covers 8 bytes then skips 8 etc 122 rp6 = bit7 ^ bit6 ^ bit5 ^ bit4 ^ bit3 ^ bit2 ^ bit1 ^ bit0 ^ rp6; 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; 219 (parity[rp6] << 6) | 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; 332 rp6 ^= (rp6 >> 16); rp6 ^= (rp6 >> 8); rp6 &= 0xff; [all …]
|