Searched refs:rk_iommu_read (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/iommu/ |
H A D | rockchip-iommu.c | 335 static u32 rk_iommu_read(void __iomem *base, u32 offset) in rk_iommu_read() function 380 active &= !!(rk_iommu_read(iommu->bases[i], RK_MMU_STATUS) & in rk_iommu_is_stall_active() 392 enable &= !!(rk_iommu_read(iommu->bases[i], RK_MMU_STATUS) & in rk_iommu_is_paging_enabled() 404 done &= rk_iommu_read(iommu->bases[i], RK_MMU_DTE_ADDR) == 0; in rk_iommu_is_reset_done() 429 rk_iommu_read(iommu->bases[i], RK_MMU_STATUS)); in rk_iommu_enable_stall() 450 rk_iommu_read(iommu->bases[i], RK_MMU_STATUS)); in rk_iommu_disable_stall() 471 rk_iommu_read(iommu->bases[i], RK_MMU_STATUS)); in rk_iommu_enable_paging() 492 rk_iommu_read(iommu->bases[i], RK_MMU_STATUS)); in rk_iommu_disable_paging() 514 if (dte_addr != rk_iommu_read(iommu->bases[i], RK_MMU_DTE_ADDR)) { in rk_iommu_force_reset() 551 mmu_dte_addr = rk_iommu_read(base, RK_MMU_DTE_ADDR); in log_iova() [all …]
|