Home
last modified time | relevance | path

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

/u-boot/drivers/mtd/nand/raw/
A Dzynq_nand.c333 u32 ecc_value = 0; in zynq_nand_calculate_hwecc() local
346 ecc_value = readl(&smc->reg->eval0r + ecc_reg); in zynq_nand_calculate_hwecc()
349 ecc_status = (ecc_value >> 24) & 0xFF; in zynq_nand_calculate_hwecc()
355 *ecc_code = ecc_value & 0xFF; in zynq_nand_calculate_hwecc()
356 ecc_value = ecc_value >> 8; in zynq_nand_calculate_hwecc()
A Datmel_nand.c1012 unsigned int ecc_value; in atmel_nand_calculate() local
1015 ecc_value = ecc_readl(CONFIG_SYS_NAND_ECC_BASE, PR); in atmel_nand_calculate()
1017 ecc_code[0] = ecc_value & 0xFF; in atmel_nand_calculate()
1018 ecc_code[1] = (ecc_value >> 8) & 0xFF; in atmel_nand_calculate()
1021 ecc_value = ecc_readl(CONFIG_SYS_NAND_ECC_BASE, NPR) & ATMEL_ECC_NPARITY; in atmel_nand_calculate()
1023 ecc_code[2] = ecc_value & 0xFF; in atmel_nand_calculate()
1024 ecc_code[3] = (ecc_value >> 8) & 0xFF; in atmel_nand_calculate()

Completed in 8 milliseconds