Searched refs:rp15 (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/Documentation/driver-api/mtd/ |
D | nand_ecc.rst | 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 99 - rp15 skips 128 bytes then covers 128 108 ECC 1 rp15 rp14 rp13 rp12 rp11 rp10 rp09 rp08 157 rp15 = bit7 ^ bit6 ^ bit5 ^ bit4 ^ bit3 ^ bit2 ^ bit1 ^ bit0 ^ rp15; 218 unsigned char rp8, rp9, rp10, rp11, rp12, rp13, rp14, rp15; 225 rp12 = 0; rp13 = 0; rp14 = 0; rp15 = 0; 238 if (i & 0x80) rp15 ^= cur; else rp14 ^= cur; 250 (parity[rp15] << 7) | 329 unsigned long rp8, rp9, rp10, rp11, rp12, rp13, rp14, rp15; [all …]
|
/Linux-v5.10/drivers/mtd/nand/raw/ |
D | nand_ecc.c | 133 uint32_t rp8, rp9, rp10, rp11, rp12, rp13, rp14, rp15, rp16; in __nand_calculate_ecc() local 310 rp15 = (par ^ rp14) & 0xff; in __nand_calculate_ecc() 325 code[1] = (invparity[rp15] << 7) | (invparity[rp14] << 6) | in __nand_calculate_ecc() 334 code[0] = (invparity[rp15] << 7) | (invparity[rp14] << 6) | in __nand_calculate_ecc()
|