Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/mtd/nand/
Dnand_ecc.c168 uint32_t rp0, rp1, rp2, rp3, rp4, rp5, rp6, rp7; in __nand_calculate_ecc() local
306 rp3 = par & 0xffff; in __nand_calculate_ecc()
307 rp3 ^= (rp3 >> 8); in __nand_calculate_ecc()
308 rp3 &= 0xff; in __nand_calculate_ecc()
310 rp3 = (par >> 16); in __nand_calculate_ecc()
311 rp3 ^= (rp3 >> 8); in __nand_calculate_ecc()
312 rp3 &= 0xff; in __nand_calculate_ecc()
362 (invparity[rp3] << 3) | in __nand_calculate_ecc()
381 (invparity[rp3] << 3) | in __nand_calculate_ecc()
/linux-3.4.99/Documentation/mtd/
Dnand_ecc.txt42 byte 2: bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 rp0 rp3 rp4 ... rp14
43 byte 3: bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 rp1 rp3 rp4 ... 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
70 rp3 is covers the half rp2 does not cover (bytes 2, 3, 6, 7, 10, 11, ...)
112 rp3 = bit7 ^ bit6 ^ bit5 ^ bit4 ^ bit3 ^ bit2 ^ bit1 ^ bit0 ^ rp3;
194 unsigned char rp0, rp1, rp2, rp3, rp4, rp5, rp6, rp7;
199 rp0 = 0; rp1 = 0; rp2 = 0; rp3 = 0;
209 if (i & 0x02) rp3 ^= cur; else rp2 ^= cur;
222 (parity[rp3] << 3) |
[all …]