Searched refs:rp7 (Results 1 – 2 of 2) sorted by relevance
/linux/Documentation/driver-api/mtd/ |
A D | nand_ecc.rst | 91 - rp7 skips 8 bytes then covers 8 etc 141 rp7 = bit7 ^ bit6 ^ bit5 ^ bit4 ^ bit3 ^ bit2 ^ bit1 ^ bit0 ^ rp7; 241 (parity[rp7] << 7) | 358 rp7 ^= (rp7 >> 16); rp7 ^= (rp7 >> 8); rp7 &= 0xff; 375 (parity[rp7] << 7) | 452 rp6 = par ^ rp7; 701 replace parity[rp7] << 7 with:: 703 rp7 ^= (rp7 << 4); 704 rp7 ^= (rp7 << 2); 705 rp7 ^= (rp7 << 1); [all …]
|
/linux/drivers/mtd/nand/ |
A D | ecc-sw-hamming.c | 123 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()
|
Completed in 5 milliseconds