Searched refs:rp6 (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
D | nand_ecc.c | 132 uint32_t rp0, rp1, rp2, rp3, rp4, rp5, rp6, rp7; in __nand_calculate_ecc() local 142 rp6 = 0; in __nand_calculate_ecc() 165 rp6 ^= tmppar; in __nand_calculate_ecc() 176 rp6 ^= cur; in __nand_calculate_ecc() 179 rp6 ^= cur; in __nand_calculate_ecc() 190 rp6 ^= cur; in __nand_calculate_ecc() 194 rp6 ^= cur; in __nand_calculate_ecc() 207 rp6 ^= cur; in __nand_calculate_ecc() 210 rp6 ^= cur; in __nand_calculate_ecc() 235 rp6 ^= (rp6 >> 16); in __nand_calculate_ecc() [all …]
|
/kernel/linux/linux-5.10/Documentation/driver-api/mtd/ |
D | nand_ecc.rst | 90 - rp6 covers 8 bytes then skips 8 etc 143 rp6 = bit7 ^ bit6 ^ bit5 ^ bit4 ^ bit3 ^ bit2 ^ bit1 ^ bit0 ^ rp6; 217 unsigned char rp0, rp1, rp2, rp3, rp4, rp5, rp6, rp7; 223 rp4 = 0; rp5 = 0; rp6 = 0; rp7 = 0; 234 if (i & 0x08) rp7 ^= cur; else rp6 ^= cur; 242 (parity[rp6] << 6) | 328 unsigned long rp0, rp1, rp2, rp3, rp4, rp5, rp6, rp7; 334 rp4 = 0; rp5 = 0; rp6 = 0; rp7 = 0; 343 if (i & 0x02) rp7 ^= cur; else rp6 ^= cur; 357 rp6 ^= (rp6 >> 16); rp6 ^= (rp6 >> 8); rp6 &= 0xff; [all …]
|