Home
last modified time | relevance | path

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

/linux/drivers/mtd/nand/raw/
H A Dpl35x-nand-controller.c398 unsigned short ecc_odd, ecc_even, read_ecc_lower, read_ecc_upper; in pl35x_nand_correct_data() local
413 ecc_even = read_ecc_upper ^ calc_ecc_upper; in pl35x_nand_correct_data()
416 if (likely(!ecc_odd && !ecc_even)) in pl35x_nand_correct_data()
420 if (ecc_odd == (~ecc_even & PL35X_NAND_ECC_BITS_MASK)) { in pl35x_nand_correct_data()
432 if (hweight32(ecc_odd | ecc_even) == 1) in pl35x_nand_correct_data()