Searched refs:acc_control (Results 1 – 1 of 1) sorted by relevance
291 u32 acc_control; member958 u32 acc_control = nand_readreg(ctrl, offs); in brcmnand_set_ecc_enabled() local962 acc_control |= ecc_flags; /* enable RD/WR ECC */ in brcmnand_set_ecc_enabled()963 acc_control |= host->hwcfg.ecc_level in brcmnand_set_ecc_enabled()966 acc_control &= ~ecc_flags; /* disable RD/WR ECC */ in brcmnand_set_ecc_enabled()967 acc_control &= ~brcmnand_ecc_level_mask(ctrl); in brcmnand_set_ecc_enabled()970 nand_writereg(ctrl, offs, acc_control); in brcmnand_set_ecc_enabled()2782 nand_writereg(ctrl, acc_control_offs, host->hwcfg.acc_control); in brcmnand_save_restore_cs_config()2790 host->hwcfg.acc_control = nand_readreg(ctrl, acc_control_offs); in brcmnand_save_restore_cs_config()