Searched refs:rp14 (Results 1 – 2 of 2) sorted by relevance
/linux-2.6.39/drivers/mtd/nand/ |
D | nand_ecc.c | 169 uint32_t rp8, rp9, rp10, rp11, rp12, rp13, rp14, rp15, rp16; in __nand_calculate_ecc() local 182 rp14 = 0; in __nand_calculate_ecc() 257 rp14 ^= tmppar; in __nand_calculate_ecc() 283 rp14 ^= (rp14 >> 16); in __nand_calculate_ecc() 284 rp14 ^= (rp14 >> 8); in __nand_calculate_ecc() 285 rp14 &= 0xff; in __nand_calculate_ecc() 346 rp15 = (par ^ rp14) & 0xff; in __nand_calculate_ecc() 368 (invparity[rp14] << 6) | in __nand_calculate_ecc() 387 (invparity[rp14] << 6) | in __nand_calculate_ecc()
|
/linux-2.6.39/Documentation/mtd/ |
D | nand_ecc.txt | 40 byte 0: bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 rp0 rp2 rp4 ... rp14 41 byte 1: bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 rp1 rp2 rp4 ... rp14 42 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 44 byte 4: bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 rp0 rp2 rp5 ... rp14 83 rp14 covers 128 bytes then skips 128 90 ECC 1 rp15 rp14 rp13 rp12 rp11 rp10 rp09 rp08 138 rp14 = bit7 ^ bit6 ^ bit5 ^ bit4 ^ bit3 ^ bit2 ^ bit1 ^ bit0 ^ rp14; 195 unsigned char rp8, rp9, rp10, rp11, rp12, rp13, rp14, rp15; 202 rp12 = 0; rp13 = 0; rp14 = 0; rp15 = 0; [all …]
|