Lines Matching refs:ipmmu_vmsa_domain
64 struct ipmmu_vmsa_domain *domains[IPMMU_CTX_MAX];
70 struct ipmmu_vmsa_domain { struct
81 static struct ipmmu_vmsa_domain *to_vmsa_domain(struct iommu_domain *dom) in to_vmsa_domain() argument
83 return container_of(dom, struct ipmmu_vmsa_domain, io_domain); in to_vmsa_domain()
211 static u32 ipmmu_ctx_read_root(struct ipmmu_vmsa_domain *domain, in ipmmu_ctx_read_root()
217 static void ipmmu_ctx_write_root(struct ipmmu_vmsa_domain *domain, in ipmmu_ctx_write_root()
223 static void ipmmu_ctx_write_all(struct ipmmu_vmsa_domain *domain, in ipmmu_ctx_write_all()
254 static void ipmmu_tlb_sync(struct ipmmu_vmsa_domain *domain) in ipmmu_tlb_sync()
265 static void ipmmu_tlb_invalidate(struct ipmmu_vmsa_domain *domain) in ipmmu_tlb_invalidate()
279 static void ipmmu_utlb_enable(struct ipmmu_vmsa_domain *domain, in ipmmu_utlb_enable()
300 static void ipmmu_utlb_disable(struct ipmmu_vmsa_domain *domain, in ipmmu_utlb_disable()
311 struct ipmmu_vmsa_domain *domain = cookie; in ipmmu_tlb_flush_all()
332 struct ipmmu_vmsa_domain *domain) in ipmmu_domain_allocate_context()
364 static void ipmmu_domain_setup_context(struct ipmmu_vmsa_domain *domain) in ipmmu_domain_setup_context()
417 static int ipmmu_domain_init_context(struct ipmmu_vmsa_domain *domain) in ipmmu_domain_init_context()
467 static void ipmmu_domain_destroy_context(struct ipmmu_vmsa_domain *domain) in ipmmu_domain_destroy_context()
487 static irqreturn_t ipmmu_domain_irq(struct ipmmu_vmsa_domain *domain) in ipmmu_domain_irq()
567 struct ipmmu_vmsa_domain *domain; in ipmmu_domain_alloc_paging()
580 struct ipmmu_vmsa_domain *domain = to_vmsa_domain(io_domain); in ipmmu_domain_free()
596 struct ipmmu_vmsa_domain *domain = to_vmsa_domain(io_domain); in ipmmu_attach_device()
643 struct ipmmu_vmsa_domain *domain; in ipmmu_iommu_identity_attach()
672 struct ipmmu_vmsa_domain *domain = to_vmsa_domain(io_domain); in ipmmu_map()
682 struct ipmmu_vmsa_domain *domain = to_vmsa_domain(io_domain); in ipmmu_unmap()
689 struct ipmmu_vmsa_domain *domain = to_vmsa_domain(io_domain); in ipmmu_flush_iotlb_all()
704 struct ipmmu_vmsa_domain *domain = to_vmsa_domain(io_domain); in ipmmu_iova_to_phys()