Searched refs:rp5 (Results 1 – 2 of 2) sorted by relevance
/linux/Documentation/driver-api/mtd/ |
H A D | nand_ecc.rst | 49 byte 4: bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 rp0 rp2 rp5 ... rp14 51 byte 254: bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 rp0 rp3 rp5 ... rp15 52 byte 255: bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 rp1 rp3 rp5 ... rp15 86 - and rp5 covers the other half, so bytes 4, 5, 6, 7, 12, 13, 14, 15, 20, .. 137 rp5 = bit7 ^ bit6 ^ bit5 ^ bit4 ^ bit3 ^ bit2 ^ bit1 ^ bit0 ^ rp5; 217 unsigned char rp0, rp1, rp2, rp3, rp4, rp5, rp6, rp7; 223 rp4 = 0; rp5 = 0; rp6 = 0; rp7 = 0; 233 if (i & 0x04) rp5 ^= cur; else rp4 ^= cur; 243 (parity[rp5] << 5) | 328 unsigned long rp0, rp1, rp2, rp3, rp4, rp5, rp6, rp7; [all …]
|
/linux/drivers/mtd/nand/ |
H 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 297 rp5 = (par ^ rp4) & 0xff; in ecc_sw_hamming_calculate() 314 (invparity[rp5] << 5) | (invparity[rp4] << 4) | in ecc_sw_hamming_calculate() 323 (invparity[rp5] << 5) | (invparity[rp4] << 4) | in ecc_sw_hamming_calculate()
|