Lines Matching refs:ecc_regs
51 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()
422 ecc->regs + ecc->caps->ecc_regs[ECC_ENCPAR00], in mtk_ecc_encode()
465 .ecc_regs = mt2701_ecc_regs,
476 .ecc_regs = mt2712_ecc_regs,
487 .ecc_regs = mt7622_ecc_regs,
498 .ecc_regs = mt2712_ecc_regs,