Lines Matching refs:iommu_domain
130 static struct protection_domain *to_pdomain(struct iommu_domain *dom) in to_pdomain()
3246 static struct iommu_domain *amd_iommu_domain_alloc(unsigned type) in amd_iommu_domain_alloc()
3275 static void amd_iommu_domain_free(struct iommu_domain *dom) in amd_iommu_domain_free()
3298 static void amd_iommu_detach_device(struct iommu_domain *dom, in amd_iommu_detach_device()
3320 static int amd_iommu_attach_device(struct iommu_domain *dom, in amd_iommu_attach_device()
3347 static int amd_iommu_map(struct iommu_domain *dom, unsigned long iova, in amd_iommu_map()
3369 static size_t amd_iommu_unmap(struct iommu_domain *dom, unsigned long iova, in amd_iommu_unmap()
3387 static phys_addr_t amd_iommu_iova_to_phys(struct iommu_domain *dom, in amd_iommu_iova_to_phys()
3485 void amd_iommu_domain_direct_map(struct iommu_domain *dom) in amd_iommu_domain_direct_map()
3506 int amd_iommu_domain_enable_v2(struct iommu_domain *dom, int pasids) in amd_iommu_domain_enable_v2()
3617 int amd_iommu_flush_page(struct iommu_domain *dom, int pasid, in amd_iommu_flush_page()
3640 int amd_iommu_flush_tlb(struct iommu_domain *dom, int pasid) in amd_iommu_flush_tlb()
3719 int amd_iommu_domain_set_gcr3(struct iommu_domain *dom, int pasid, in amd_iommu_domain_set_gcr3()
3734 int amd_iommu_domain_clear_gcr3(struct iommu_domain *dom, int pasid) in amd_iommu_domain_clear_gcr3()
3767 struct iommu_domain *amd_iommu_get_v2_domain(struct pci_dev *pdev) in amd_iommu_get_v2_domain()