Searched refs:ecc_val (Results 1 – 2 of 2) sorted by relevance
240 u32 ecc_val = KS2_DDR3_ECC_EN; in ddr3_ecc_init_range() local244 ecc_val |= KS2_DDR3_ECC_RMW_EN; in ddr3_ecc_init_range()248 ddr3_ecc_config(base, ecc_val); in ddr3_ecc_init_range()253 u32 ecc_val = KS2_DDR3_ECC_ENABLE; in ddr3_enable_ecc() local257 ecc_val |= KS2_DDR3_ECC_ADDR_RNG_1_EN; in ddr3_enable_ecc()263 ecc_val = 0; in ddr3_enable_ecc()265 ecc_val |= KS2_DDR3_ECC_RMW_EN; in ddr3_enable_ecc()268 ddr3_ecc_config(base, ecc_val); in ddr3_enable_ecc()
122 unsigned int ecc_val = nand_davinci_readecc_1bit(nand_to_mtd(chip)); in nand_davinci_calculate_1bit() local123 unsigned int ecc24 = (ecc_val & 0x0fff) | ((ecc_val & 0x0fff0000) >> 4); in nand_davinci_calculate_1bit()