Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
Dnand_ecc.c133 uint32_t rp8, rp9, rp10, rp11, rp12, rp13, rp14, rp15, rp16; in __nand_calculate_ecc() local
144 rp10 = 0; in __nand_calculate_ecc()
185 rp10 ^= tmppar; in __nand_calculate_ecc()
241 rp10 ^= (rp10 >> 16); in __nand_calculate_ecc()
242 rp10 ^= (rp10 >> 8); in __nand_calculate_ecc()
243 rp10 &= 0xff; in __nand_calculate_ecc()
308 rp11 = (par ^ rp10) & 0xff; in __nand_calculate_ecc()
327 (invparity[rp11] << 3) | (invparity[rp10] << 2) | in __nand_calculate_ecc()
336 (invparity[rp11] << 3) | (invparity[rp10] << 2) | in __nand_calculate_ecc()
/kernel/linux/linux-5.10/Documentation/driver-api/mtd/
Dnand_ecc.rst94 - rp10 covers 32 bytes then skips 32 etc
108 ECC 1 rp15 rp14 rp13 rp12 rp11 rp10 rp09 rp08
151 rp10 = bit7 ^ bit6 ^ bit5 ^ bit4 ^ bit3 ^ bit2 ^ bit1 ^ bit0 ^ rp10;
218 unsigned char rp8, rp9, rp10, rp11, rp12, rp13, rp14, rp15;
224 rp8 = 0; rp9 = 0; rp10 = 0; rp11 = 0;
236 if (i & 0x20) rp11 ^= cur; else rp10 ^= cur;
255 (parity[rp10] << 2) |
329 unsigned long rp8, rp9, rp10, rp11, rp12, rp13, rp14, rp15;
335 rp8 = 0; rp9 = 0; rp10 = 0; rp11 = 0;
345 if (i & 0x08) rp11 ^= cur; else rp10 ^= cur;
[all …]