Searched refs:acc_control (Results 1 – 1 of 1) sorted by relevance
170 u32 acc_control; member653 u32 acc_control = nand_readreg(ctrl, offs); in brcmnand_set_ecc_enabled() local657 acc_control |= ecc_flags; /* enable RD/WR ECC */ in brcmnand_set_ecc_enabled()658 acc_control |= host->hwcfg.ecc_level in brcmnand_set_ecc_enabled()661 acc_control &= ~ecc_flags; /* disable RD/WR ECC */ in brcmnand_set_ecc_enabled()662 acc_control &= ~brcmnand_ecc_level_mask(ctrl); in brcmnand_set_ecc_enabled()665 nand_writereg(ctrl, offs, acc_control); in brcmnand_set_ecc_enabled()2042 nand_writereg(ctrl, acc_control_offs, host->hwcfg.acc_control); in brcmnand_save_restore_cs_config()2050 host->hwcfg.acc_control = nand_readreg(ctrl, acc_control_offs); in brcmnand_save_restore_cs_config()