Searched refs:RDR_STAT (Results 1 – 4 of 4) sorted by relevance
46 #define RDR_STAT(x) (0x83C + ((x) << 12)) macro
267 writel(MTK_RDR_STAT_CLR, cryp->base + RDR_STAT(i)); in mtk_res_desc_ring_setup()
1103 u32 val = mtk_aes_read(cryp, RDR_STAT(aes->id)); in mtk_aes_irq()1105 mtk_aes_write(cryp, RDR_STAT(aes->id), val); in mtk_aes_irq()
1186 u32 val = mtk_sha_read(cryp, RDR_STAT(sha->id)); in mtk_sha_irq()1188 mtk_sha_write(cryp, RDR_STAT(sha->id), val); in mtk_sha_irq()