Home
last modified time | relevance | path

Searched refs:acc_control (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/drivers/mtd/nand/raw/brcmnand/
Dbrcmnand.c298 u32 acc_control; member
990 u32 acc_control = nand_readreg(ctrl, offs); in brcmnand_set_ecc_enabled() local
994 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()