Lines Matching defs:dom
180 static struct protection_domain *to_pdomain(struct iommu_domain *dom) in to_pdomain()
2180 static void amd_iommu_domain_free(struct iommu_domain *dom) in amd_iommu_domain_free()
2200 static int amd_iommu_attach_device(struct iommu_domain *dom, in amd_iommu_attach_device()
2236 static void amd_iommu_iotlb_sync_map(struct iommu_domain *dom, in amd_iommu_iotlb_sync_map()
2246 static int amd_iommu_map_pages(struct iommu_domain *dom, unsigned long iova, in amd_iommu_map_pages()
2293 static size_t amd_iommu_unmap_pages(struct iommu_domain *dom, unsigned long iova, in amd_iommu_unmap_pages()
2313 static phys_addr_t amd_iommu_iova_to_phys(struct iommu_domain *dom, in amd_iommu_iova_to_phys()
2413 struct protection_domain *dom = to_pdomain(domain); in amd_iommu_flush_iotlb_all() local
2425 struct protection_domain *dom = to_pdomain(domain); in amd_iommu_iotlb_sync() local
2511 void amd_iommu_domain_direct_map(struct iommu_domain *dom) in amd_iommu_domain_direct_map()
2549 int amd_iommu_domain_enable_v2(struct iommu_domain *dom, int pasids) in amd_iommu_domain_enable_v2()
2643 int amd_iommu_flush_page(struct iommu_domain *dom, u32 pasid, in amd_iommu_flush_page()
2664 int amd_iommu_flush_tlb(struct iommu_domain *dom, u32 pasid) in amd_iommu_flush_tlb()
2743 int amd_iommu_domain_set_gcr3(struct iommu_domain *dom, u32 pasid, in amd_iommu_domain_set_gcr3()
2758 int amd_iommu_domain_clear_gcr3(struct iommu_domain *dom, u32 pasid) in amd_iommu_domain_clear_gcr3()