Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/mtd/nand/
Decc-mtk.c47 const u32 *ecc_regs; member
138 dec = readw(ecc->regs + ecc->caps->ecc_regs[ECC_DECIRQ_STA]) in mtk_ecc_irq()
141 dec = readw(ecc->regs + ecc->caps->ecc_regs[ECC_DECDONE]); in mtk_ecc_irq()
147 readw(ecc->regs + ecc->caps->ecc_regs[ECC_DECIRQ_STA]); in mtk_ecc_irq()
154 enc = readl(ecc->regs + ecc->caps->ecc_regs[ECC_ENCIRQ_STA]) in mtk_ecc_irq()
327 ecc->caps->ecc_regs[ECC_ENCIRQ_EN]); in mtk_ecc_enable()
330 ecc->caps->ecc_regs[ECC_DECIRQ_EN]); in mtk_ecc_enable()
354 readw(ecc->regs + ecc->caps->ecc_regs[ECC_DECDONE]); in mtk_ecc_disable()
355 writew(0, ecc->regs + ecc->caps->ecc_regs[ECC_DECIRQ_EN]); in mtk_ecc_disable()
357 writew(0, ecc->regs + ecc->caps->ecc_regs[ECC_ENCIRQ_EN]); in mtk_ecc_disable()
[all …]