Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/mtd/nand/raw/
Dnand_ecc.c145 uint32_t rp0, rp1, rp2, rp3, rp4, rp5, rp6, rp7; in __nand_calculate_ecc() local
155 rp6 = 0; in __nand_calculate_ecc()
178 rp6 ^= tmppar; in __nand_calculate_ecc()
189 rp6 ^= cur; in __nand_calculate_ecc()
192 rp6 ^= cur; in __nand_calculate_ecc()
203 rp6 ^= cur; in __nand_calculate_ecc()
207 rp6 ^= cur; in __nand_calculate_ecc()
220 rp6 ^= cur; in __nand_calculate_ecc()
223 rp6 ^= cur; in __nand_calculate_ecc()
248 rp6 ^= (rp6 >> 16); in __nand_calculate_ecc()
[all …]
/Linux-v4.19/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 …]