Home
last modified time | relevance | path

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

/linux/drivers/mtd/nand/
H A Decc-mtk.c41 #define ECC_CTL_REG(op) ((op) == ECC_ENCODE ? ECC_ENCCON : ECC_DECCON) macro
341 writew(ECC_OP_ENABLE, ecc->regs + ECC_CTL_REG(op)); in mtk_ecc_enable()
352 if (readw(ecc->regs + ECC_CTL_REG(op)) != ECC_OP_ENABLE) in mtk_ecc_disable()
368 writew(ECC_OP_DISABLE, ecc->regs + ECC_CTL_REG(op)); in mtk_ecc_disable()