Searched refs:acc_control (Results 1 – 1 of 1) sorted by relevance
298 u32 acc_control; member990 u32 acc_control = nand_readreg(ctrl, offs); in brcmnand_set_ecc_enabled() local994 acc_control |= ecc_flags; /* enable RD/WR ECC */ in brcmnand_set_ecc_enabled()995 acc_control |= host->hwcfg.ecc_level in brcmnand_set_ecc_enabled()998 acc_control &= ~ecc_flags; /* disable RD/WR ECC */ in brcmnand_set_ecc_enabled()999 acc_control &= ~brcmnand_ecc_level_mask(ctrl); in brcmnand_set_ecc_enabled()1002 nand_writereg(ctrl, offs, acc_control); in brcmnand_set_ecc_enabled()2860 nand_writereg(ctrl, acc_control_offs, host->hwcfg.acc_control); in brcmnand_save_restore_cs_config()2868 host->hwcfg.acc_control = nand_readreg(ctrl, acc_control_offs); in brcmnand_save_restore_cs_config()