Home
last modified time | relevance | path

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

/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
133 rp6 = 0; in ecc_sw_hamming_calculate()
157 rp6 ^= tmppar; in ecc_sw_hamming_calculate()
168 rp6 ^= cur; in ecc_sw_hamming_calculate()
171 rp6 ^= cur; in ecc_sw_hamming_calculate()
182 rp6 ^= cur; in ecc_sw_hamming_calculate()
186 rp6 ^= cur; in ecc_sw_hamming_calculate()
199 rp6 ^= cur; in ecc_sw_hamming_calculate()
202 rp6 ^= cur; in ecc_sw_hamming_calculate()
227 rp6 ^= (rp6 >> 16); in ecc_sw_hamming_calculate()
[all …]
/linux-6.12.1/Documentation/driver-api/mtd/
Dnand_ecc.rst90 - 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 …]