Lines Matching refs:iommu_domain

124 static struct protection_domain *to_pdomain(struct iommu_domain *dom)  in to_pdomain()
344 struct iommu_domain *domain; in init_iommu_group()
2231 struct iommu_domain *domain; in amd_iommu_add_device()
2305 struct iommu_domain *io_domain; in get_domain()
2925 static struct iommu_domain *amd_iommu_domain_alloc(unsigned type) in amd_iommu_domain_alloc()
2970 static void amd_iommu_domain_free(struct iommu_domain *dom) in amd_iommu_domain_free()
2993 static void amd_iommu_detach_device(struct iommu_domain *dom, in amd_iommu_detach_device()
3015 static int amd_iommu_attach_device(struct iommu_domain *dom, in amd_iommu_attach_device()
3042 static int amd_iommu_map(struct iommu_domain *dom, unsigned long iova, in amd_iommu_map()
3064 static size_t amd_iommu_unmap(struct iommu_domain *dom, unsigned long iova, in amd_iommu_unmap()
3082 static phys_addr_t amd_iommu_iova_to_phys(struct iommu_domain *dom, in amd_iommu_iova_to_phys()
3199 void amd_iommu_domain_direct_map(struct iommu_domain *dom) in amd_iommu_domain_direct_map()
3220 int amd_iommu_domain_enable_v2(struct iommu_domain *dom, int pasids) in amd_iommu_domain_enable_v2()
3336 int amd_iommu_flush_page(struct iommu_domain *dom, int pasid, in amd_iommu_flush_page()
3359 int amd_iommu_flush_tlb(struct iommu_domain *dom, int pasid) in amd_iommu_flush_tlb()
3438 int amd_iommu_domain_set_gcr3(struct iommu_domain *dom, int pasid, in amd_iommu_domain_set_gcr3()
3453 int amd_iommu_domain_clear_gcr3(struct iommu_domain *dom, int pasid) in amd_iommu_domain_clear_gcr3()
3486 struct iommu_domain *amd_iommu_get_v2_domain(struct pci_dev *pdev) in amd_iommu_get_v2_domain()