Lines Matching refs:rk_ops
126 static const struct rk_iommu_ops *rk_ops; variable
511 dte_addr = rk_ops->pt_address(DTE_ADDR_DUMMY); in rk_iommu_force_reset()
579 mmu_dte_addr_phys = rk_ops->dte_addr_phys(mmu_dte_addr); in log_iova()
588 pte_addr_phys = rk_ops->pt_address(dte) + (pte_index * 4); in log_iova()
595 page_addr_phys = rk_ops->pt_address(pte) + page_offset; in log_iova()
691 pt_phys = rk_ops->pt_address(dte); in rk_iommu_iova_to_phys()
697 phys = rk_ops->pt_address(pte) + rk_iova_page_offset(iova); in rk_iommu_iova_to_phys()
769 dte = rk_ops->mk_dtentries(pt_dma); in rk_dte_get_page_table()
775 pt_phys = rk_ops->pt_address(dte); in rk_dte_get_page_table()
817 pte_addr[pte_count] = rk_ops->mk_ptentries(paddr, prot); in rk_iommu_map_iova()
839 page_phys = rk_ops->pt_address(pte_addr[pte_count]); in rk_iommu_map_iova()
875 pte_dma = rk_ops->pt_address(dte_index) + pte_index * sizeof(u32); in rk_iommu_map()
911 pt_phys = rk_ops->pt_address(dte); in rk_iommu_unmap()
969 rk_ops->dma_addr_dte(rk_domain->dt_dma)); in rk_iommu_enable()
1118 phys_addr_t pt_phys = rk_ops->pt_address(dte); in rk_iommu_domain_free()
1221 if (!rk_ops) in rk_iommu_probe()
1222 rk_ops = ops; in rk_iommu_probe()
1228 if (WARN_ON(rk_ops != ops)) in rk_iommu_probe()
1317 dma_set_mask_and_coherent(dev, rk_ops->dma_bit_mask); in rk_iommu_probe()