Home
last modified time | relevance | path

Searched refs:rp1 (Results 1 – 3 of 3) 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
322 rp1 = (par & 0xff); in __nand_calculate_ecc()
324 rp1 = (par >> 8) & 0xff; in __nand_calculate_ecc()
364 (invparity[rp1] << 1) | in __nand_calculate_ecc()
383 (invparity[rp1] << 1) | in __nand_calculate_ecc()
/linux-3.4.99/Documentation/mtd/
Dnand_ecc.txt41 byte 1: bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 rp1 rp2 rp4 ... rp14
43 byte 3: bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 rp1 rp3 rp4 ... rp14
47 byte 255: bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 rp1 rp3 rp5 ... rp15
67 rp1 is the parity of all odd bytes (1, 3, 5, 7, ..., 253, 255)
108 rp1 = bit7 ^ bit6 ^ bit5 ^ bit4 ^ bit3 ^ bit2 ^ bit1 ^ bit0 ^ rp1;
110 rp0 = bit7 ^ bit6 ^ bit5 ^ bit4 ^ bit3 ^ bit2 ^ bit1 ^ bit0 ^ rp1;
194 unsigned char rp0, rp1, rp2, rp3, rp4, rp5, rp6, rp7;
199 rp0 = 0; rp1 = 0; rp2 = 0; rp3 = 0;
208 if (i & 0x01) rp1 ^= cur; else rp0 ^= cur;
224 (parity[rp1] << 1) |
[all …]
/linux-3.4.99/kernel/
Drcutorture.c432 struct rcu_torture *rp1; in rcu_sync_torture_deferred_free() local
436 list_for_each_entry_safe(rp, rp1, &rcu_torture_removed, rtort_free) { in rcu_sync_torture_deferred_free()