Lines Matching refs:rk_iommu_domain
82 struct rk_iommu_domain { struct
128 static inline void rk_table_flush(struct rk_iommu_domain *dom, dma_addr_t dma, in rk_table_flush()
136 static struct rk_iommu_domain *to_rk_domain(struct iommu_domain *dom) in to_rk_domain()
138 return container_of(dom, struct rk_iommu_domain, domain); in to_rk_domain()
652 struct rk_iommu_domain *rk_domain = to_rk_domain(domain); in rk_iommu_iova_to_phys()
677 static void rk_iommu_zap_iova(struct rk_iommu_domain *rk_domain, in rk_iommu_zap_iova()
706 static void rk_iommu_zap_iova_first_last(struct rk_iommu_domain *rk_domain, in rk_iommu_zap_iova_first_last()
715 static u32 *rk_dte_get_page_table(struct rk_iommu_domain *rk_domain, in rk_dte_get_page_table()
752 static size_t rk_iommu_unmap_iova(struct rk_iommu_domain *rk_domain, in rk_iommu_unmap_iova()
774 static int rk_iommu_map_iova(struct rk_iommu_domain *rk_domain, u32 *pte_addr, in rk_iommu_map_iova()
822 struct rk_iommu_domain *rk_domain = to_rk_domain(domain); in rk_iommu_map()
860 struct rk_iommu_domain *rk_domain = to_rk_domain(domain); in rk_iommu_unmap()
925 struct rk_iommu_domain *rk_domain = to_rk_domain(domain); in rk_iommu_enable()
960 struct rk_iommu_domain *rk_domain; in rk_iommu_identity_attach()
1017 struct rk_iommu_domain *rk_domain = to_rk_domain(domain); in rk_iommu_attach_device()
1060 struct rk_iommu_domain *rk_domain; in rk_iommu_domain_alloc()
1111 struct rk_iommu_domain *rk_domain = to_rk_domain(domain); in rk_iommu_domain_free()