Home
last modified time | relevance | path

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

/linux-2.6.39/Documentation/mtd/
Dnand_ecc.txt44 byte 4: bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 rp0 rp2 rp5 ... rp14
46 byte 254: bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 rp0 rp3 rp5 ... rp15
47 byte 255: bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 rp1 rp3 rp5 ... rp15
73 and rp5 covers the other half, so bytes 4, 5, 6, 7, 12, 13, 14, 15, 20, ..
116 rp5 = bit7 ^ bit6 ^ bit5 ^ bit4 ^ bit3 ^ bit2 ^ bit1 ^ bit0 ^ rp5;
194 unsigned char rp0, rp1, rp2, rp3, rp4, rp5, rp6, rp7;
200 rp4 = 0; rp5 = 0; rp6 = 0; rp7 = 0;
210 if (i & 0x04) rp5 ^= cur; else rp4 ^= cur;
220 (parity[rp5] << 5) |
303 unsigned long rp0, rp1, rp2, rp3, rp4, rp5, rp6, rp7;
[all …]
/linux-2.6.39/drivers/mtd/nand/
Dnand_ecc.c168 uint32_t rp0, rp1, rp2, rp3, rp4, rp5, rp6, rp7; in __nand_calculate_ecc() local
341 rp5 = (par ^ rp4) & 0xff; in __nand_calculate_ecc()
360 (invparity[rp5] << 5) | in __nand_calculate_ecc()
379 (invparity[rp5] << 5) | in __nand_calculate_ecc()