Lines Matching defs:domain

1358 static void __domain_flush_pages(struct protection_domain *domain,  in __domain_flush_pages()
1389 static void domain_flush_pages(struct protection_domain *domain, in domain_flush_pages()
1433 void amd_iommu_domain_flush_tlb_pde(struct protection_domain *domain) in amd_iommu_domain_flush_tlb_pde()
1438 void amd_iommu_domain_flush_complete(struct protection_domain *domain) in amd_iommu_domain_flush_complete()
1455 static void domain_flush_np_cache(struct protection_domain *domain, in domain_flush_np_cache()
1472 static void domain_flush_devices(struct protection_domain *domain) in domain_flush_devices()
1544 static void free_gcr3_table(struct protection_domain *domain) in free_gcr3_table()
1557 struct protection_domain *domain, bool ats, bool ppr) in set_dte_entry()
1651 struct protection_domain *domain) in do_attach()
1683 struct protection_domain *domain = dev_data->domain; in do_detach() local
1757 struct protection_domain *domain) in attach_device()
1834 struct protection_domain *domain; in detach_device() local
1944 static void update_device_table(struct protection_domain *domain) in update_device_table()
1959 void amd_iommu_update_and_flush_device_table(struct protection_domain *domain) in amd_iommu_update_and_flush_device_table()
1965 void amd_iommu_domain_update(struct protection_domain *domain) in amd_iommu_domain_update()
1985 static void cleanup_domain(struct protection_domain *domain) in cleanup_domain()
2002 static void protection_domain_free(struct protection_domain *domain) in protection_domain_free()
2016 static int protection_domain_init_v1(struct protection_domain *domain, int mode) in protection_domain_init_v1()
2041 static int protection_domain_init_v2(struct protection_domain *domain) in protection_domain_init_v2()
2062 struct protection_domain *domain; in protection_domain_alloc() local
2114 struct protection_domain *domain; in amd_iommu_domain_alloc() local
2136 struct protection_domain *domain; in amd_iommu_domain_free() local
2158 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_attach_device() local
2193 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_iotlb_sync_map() local
2204 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_map_pages() local
2226 static void amd_iommu_iotlb_gather_add_page(struct iommu_domain *domain, in amd_iommu_iotlb_gather_add_page()
2251 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_unmap_pages() local
2270 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_iova_to_phys() local
2363 static void amd_iommu_flush_iotlb_all(struct iommu_domain *domain) in amd_iommu_flush_iotlb_all()
2374 static void amd_iommu_iotlb_sync(struct iommu_domain *domain, in amd_iommu_iotlb_sync()
2410 static bool amd_iommu_enforce_cache_coherency(struct iommu_domain *domain) in amd_iommu_enforce_cache_coherency()
2465 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_domain_direct_map() local
2478 static int domain_enable_v2(struct protection_domain *domain, int pasids) in domain_enable_v2()
2527 static int __flush_pasid(struct protection_domain *domain, u32 pasid, in __flush_pasid()
2589 static int __amd_iommu_flush_page(struct protection_domain *domain, u32 pasid, in __amd_iommu_flush_page()
2598 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_flush_page() local
2610 static int __amd_iommu_flush_tlb(struct protection_domain *domain, u32 pasid) in __amd_iommu_flush_tlb()
2618 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_flush_tlb() local
2662 static int __set_gcr3(struct protection_domain *domain, u32 pasid, in __set_gcr3()
2679 static int __clear_gcr3(struct protection_domain *domain, u32 pasid) in __clear_gcr3()
2698 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_domain_set_gcr3() local
2712 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_domain_clear_gcr3() local
3286 static int irq_remapping_alloc(struct irq_domain *domain, unsigned int virq, in irq_remapping_alloc()
3397 static void irq_remapping_free(struct irq_domain *domain, unsigned int virq, in irq_remapping_free()
3423 static int irq_remapping_activate(struct irq_domain *domain, in irq_remapping_activate()
3440 static void irq_remapping_deactivate(struct irq_domain *domain, in irq_remapping_deactivate()