Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dzynq_nand.c384 unsigned short read_ecc_lower, read_ecc_upper; in zynq_nand_correct_data() local
388 read_ecc_upper = ((read_ecc[1] >> 4) | (read_ecc[2] << 4)) & 0xfff; in zynq_nand_correct_data()
394 ecc_even = read_ecc_upper ^ calc_ecc_upper; in zynq_nand_correct_data()
/openbmc/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
404 read_ecc_upper = ((read_ecc[1] >> 4) | (read_ecc[2] << 4)) & in pl35x_nand_correct_data()
413 ecc_even = read_ecc_upper ^ calc_ecc_upper; in pl35x_nand_correct_data()