Home
last modified time | relevance | path

Searched refs:rp15 (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
H A Dnand_ecc.c131 /* rp0..rp15..rp17 are the various accumulated parities (per byte) */ in __nand_calculate_ecc()
133 uint32_t rp8, rp9, rp10, rp11, rp12, rp13, rp14, rp15, rp16; in __nand_calculate_ecc() local
297 * and calculate rp5..rp15..rp17 in __nand_calculate_ecc()
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()
428 * rp17/rp15/13/11/9/7/5/3/1 indicate which byte is the faulty in __nand_correct_data()
/kernel/linux/linux-6.6/drivers/mtd/nand/
H A Decc-sw-hamming.c124 rp13, rp14, rp15, rp16, rp17; in ecc_sw_hamming_calculate() local
289 * and calculate rp5..rp15..rp17 in ecc_sw_hamming_calculate()
302 rp15 = (par ^ rp14) & 0xff; in ecc_sw_hamming_calculate()
317 code[1] = (invparity[rp15] << 7) | (invparity[rp14] << 6) | in ecc_sw_hamming_calculate()
326 code[0] = (invparity[rp15] << 7) | (invparity[rp14] << 6) | in ecc_sw_hamming_calculate()
410 * rp17/rp15/13/11/9/7/5/3/1 indicate which byte is the faulty in ecc_sw_hamming_correct()

Completed in 2 milliseconds