Lines Matching defs:dom
136 static struct protection_domain *to_pdomain(struct iommu_domain *dom) in to_pdomain()
1962 static void amd_iommu_domain_free(struct iommu_domain *dom) in amd_iommu_domain_free()
1982 static void amd_iommu_detach_device(struct iommu_domain *dom, in amd_iommu_detach_device()
2008 static int amd_iommu_attach_device(struct iommu_domain *dom, in amd_iommu_attach_device()
2045 static void amd_iommu_iotlb_sync_map(struct iommu_domain *dom, in amd_iommu_iotlb_sync_map()
2055 static int amd_iommu_map(struct iommu_domain *dom, unsigned long iova, in amd_iommu_map()
2100 static size_t amd_iommu_unmap(struct iommu_domain *dom, unsigned long iova, in amd_iommu_unmap()
2119 static phys_addr_t amd_iommu_iova_to_phys(struct iommu_domain *dom, in amd_iommu_iova_to_phys()
2207 struct protection_domain *dom = to_pdomain(domain); in amd_iommu_flush_iotlb_all() local
2219 struct protection_domain *dom = to_pdomain(domain); in amd_iommu_iotlb_sync() local
2293 void amd_iommu_domain_direct_map(struct iommu_domain *dom) in amd_iommu_domain_direct_map()
2307 int amd_iommu_domain_enable_v2(struct iommu_domain *dom, int pasids) in amd_iommu_domain_enable_v2()
2417 int amd_iommu_flush_page(struct iommu_domain *dom, u32 pasid, in amd_iommu_flush_page()
2438 int amd_iommu_flush_tlb(struct iommu_domain *dom, u32 pasid) in amd_iommu_flush_tlb()
2517 int amd_iommu_domain_set_gcr3(struct iommu_domain *dom, u32 pasid, in amd_iommu_domain_set_gcr3()
2532 int amd_iommu_domain_clear_gcr3(struct iommu_domain *dom, u32 pasid) in amd_iommu_domain_clear_gcr3()