Searched refs:rp8 (Results 1 – 2 of 2) sorted by relevance
| /Linux-v5.4/drivers/mtd/nand/raw/ |
| D | nand_ecc.c | 133 uint32_t rp8, rp9, rp10, rp11, rp12, rp13, rp14, rp15, rp16; in __nand_calculate_ecc() local 143 rp8 = 0; in __nand_calculate_ecc() 171 rp8 ^= tmppar; in __nand_calculate_ecc() 191 rp8 ^= cur; in __nand_calculate_ecc() 195 rp8 ^= cur; in __nand_calculate_ecc() 199 rp8 ^= cur; in __nand_calculate_ecc() 202 rp8 ^= cur; in __nand_calculate_ecc() 238 rp8 ^= (rp8 >> 16); in __nand_calculate_ecc() 239 rp8 ^= (rp8 >> 8); in __nand_calculate_ecc() 240 rp8 &= 0xff; in __nand_calculate_ecc() [all …]
|
| /Linux-v5.4/Documentation/driver-api/mtd/ |
| D | nand_ecc.rst | 92 - rp8 covers 16 bytes then skips 16 etc 147 rp8 = bit7 ^ bit6 ^ bit5 ^ bit4 ^ bit3 ^ bit2 ^ bit1 ^ bit0 ^ rp8; 218 unsigned char rp8, rp9, rp10, rp11, rp12, rp13, rp14, rp15; 224 rp8 = 0; rp9 = 0; rp10 = 0; rp11 = 0; 235 if (i & 0x10) rp9 ^= cur; else rp8 ^= cur; 257 (parity[rp8]); 329 unsigned long rp8, rp9, rp10, rp11, rp12, rp13, rp14, rp15; 335 rp8 = 0; rp9 = 0; rp10 = 0; rp11 = 0; 344 if (i & 0x04) rp9 ^= cur; else rp8 ^= cur; 359 rp8 ^= (rp8 >> 16); rp8 ^= (rp8 >> 8); rp8 &= 0xff; [all …]
|