Home
last modified time | relevance | path

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

/linux-6.12.1/Documentation/driver-api/mtd/
Dnand_ecc.rst91 - rp7 skips 8 bytes then covers 8 etc
141 rp7 = bit7 ^ bit6 ^ bit5 ^ bit4 ^ bit3 ^ bit2 ^ bit1 ^ bit0 ^ rp7;
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;
241 (parity[rp7] << 7) |
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;
358 rp7 ^= (rp7 >> 16); rp7 ^= (rp7 >> 8); rp7 &= 0xff;
[all …]
/linux-6.12.1/drivers/mtd/nand/
Decc-sw-hamming.c123 u32 rp0, rp1, rp2, rp3, rp4, rp5, rp6, rp7, rp8, rp9, rp10, rp11, rp12, in ecc_sw_hamming_calculate() local
298 rp7 = (par ^ rp6) & 0xff; in ecc_sw_hamming_calculate()
313 code[0] = (invparity[rp7] << 7) | (invparity[rp6] << 6) | in ecc_sw_hamming_calculate()
322 code[1] = (invparity[rp7] << 7) | (invparity[rp6] << 6) | in ecc_sw_hamming_calculate()