Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/mtd/nand/
Decc-mtk.c51 const u32 *ecc_regs; member
146 dec = readw(ecc->regs + ecc->caps->ecc_regs[ECC_DECIRQ_STA]) in mtk_ecc_irq()
149 dec = readw(ecc->regs + ecc->caps->ecc_regs[ECC_DECDONE]); in mtk_ecc_irq()
155 readw(ecc->regs + ecc->caps->ecc_regs[ECC_DECIRQ_STA]); in mtk_ecc_irq()
162 enc = readl(ecc->regs + ecc->caps->ecc_regs[ECC_ENCIRQ_STA]) in mtk_ecc_irq()
335 ecc->caps->ecc_regs[ECC_ENCIRQ_EN]); in mtk_ecc_enable()
338 ecc->caps->ecc_regs[ECC_DECIRQ_EN]); in mtk_ecc_enable()
362 readw(ecc->regs + ecc->caps->ecc_regs[ECC_DECDONE]); in mtk_ecc_disable()
363 writew(0, ecc->regs + ecc->caps->ecc_regs[ECC_DECIRQ_EN]); in mtk_ecc_disable()
365 writew(0, ecc->regs + ecc->caps->ecc_regs[ECC_ENCIRQ_EN]); in mtk_ecc_disable()
[all …]