Home
last modified time | relevance | path

Searched refs:rp6 (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/drivers/mtd/nand/
Dnand_ecc.c167 uint32_t rp0, rp1, rp2, rp3, rp4, rp5, rp6, rp7; in __nand_calculate_ecc() local
177 rp6 = 0; in __nand_calculate_ecc()
200 rp6 ^= tmppar; in __nand_calculate_ecc()
211 rp6 ^= cur; in __nand_calculate_ecc()
214 rp6 ^= cur; in __nand_calculate_ecc()
225 rp6 ^= cur; in __nand_calculate_ecc()
229 rp6 ^= cur; in __nand_calculate_ecc()
242 rp6 ^= cur; in __nand_calculate_ecc()
245 rp6 ^= cur; in __nand_calculate_ecc()
270 rp6 ^= (rp6 >> 16); in __nand_calculate_ecc()
[all …]
/linux-4.4.14/Documentation/mtd/
Dnand_ecc.txt75 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 …]