Searched refs:ecc_value (Results 1 – 2 of 2) sorted by relevance
333 u32 ecc_value = 0; in zynq_nand_calculate_hwecc() local346 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()
1012 unsigned int ecc_value; in atmel_nand_calculate() local1015 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