Lines Matching refs:io_domain

73 	struct iommu_domain io_domain;  member
84 return container_of(dom, struct ipmmu_vmsa_domain, io_domain); in to_vmsa_domain()
442 domain->io_domain.geometry.aperture_end = DMA_BIT_MASK(32); in ipmmu_domain_init_context()
443 domain->io_domain.geometry.force_aperture = true; in ipmmu_domain_init_context()
532 if (!report_iommu_fault(&domain->io_domain, mmu->dev, iova, 0)) in ipmmu_domain_irq()
583 return &domain->io_domain; in ipmmu_domain_alloc()
586 static void ipmmu_domain_free(struct iommu_domain *io_domain) in ipmmu_domain_free() argument
588 struct ipmmu_vmsa_domain *domain = to_vmsa_domain(io_domain); in ipmmu_domain_free()
599 static int ipmmu_attach_device(struct iommu_domain *io_domain, in ipmmu_attach_device() argument
604 struct ipmmu_vmsa_domain *domain = to_vmsa_domain(io_domain); in ipmmu_attach_device()
648 static void ipmmu_detach_device(struct iommu_domain *io_domain, in ipmmu_detach_device() argument
652 struct ipmmu_vmsa_domain *domain = to_vmsa_domain(io_domain); in ipmmu_detach_device()
663 static int ipmmu_map(struct iommu_domain *io_domain, unsigned long iova, in ipmmu_map() argument
666 struct ipmmu_vmsa_domain *domain = to_vmsa_domain(io_domain); in ipmmu_map()
674 static size_t ipmmu_unmap(struct iommu_domain *io_domain, unsigned long iova, in ipmmu_unmap() argument
677 struct ipmmu_vmsa_domain *domain = to_vmsa_domain(io_domain); in ipmmu_unmap()
682 static void ipmmu_flush_iotlb_all(struct iommu_domain *io_domain) in ipmmu_flush_iotlb_all() argument
684 struct ipmmu_vmsa_domain *domain = to_vmsa_domain(io_domain); in ipmmu_flush_iotlb_all()
690 static void ipmmu_iotlb_sync(struct iommu_domain *io_domain, in ipmmu_iotlb_sync() argument
693 ipmmu_flush_iotlb_all(io_domain); in ipmmu_iotlb_sync()
696 static phys_addr_t ipmmu_iova_to_phys(struct iommu_domain *io_domain, in ipmmu_iova_to_phys() argument
699 struct ipmmu_vmsa_domain *domain = to_vmsa_domain(io_domain); in ipmmu_iova_to_phys()