Lines Matching defs:domain

1382 static void __domain_flush_pages(struct protection_domain *domain,  in __domain_flush_pages()
1413 static void domain_flush_pages(struct protection_domain *domain, in domain_flush_pages()
1457 void amd_iommu_domain_flush_tlb_pde(struct protection_domain *domain) in amd_iommu_domain_flush_tlb_pde()
1462 void amd_iommu_domain_flush_complete(struct protection_domain *domain) in amd_iommu_domain_flush_complete()
1479 static void domain_flush_np_cache(struct protection_domain *domain, in domain_flush_np_cache()
1496 static void domain_flush_devices(struct protection_domain *domain) in domain_flush_devices()
1568 static void free_gcr3_table(struct protection_domain *domain) in free_gcr3_table()
1581 struct protection_domain *domain, bool ats, bool ppr) in set_dte_entry()
1680 struct protection_domain *domain) in do_attach()
1712 struct protection_domain *domain = dev_data->domain; in do_detach() local
1786 struct protection_domain *domain) in attach_device()
1863 struct protection_domain *domain; in detach_device() local
1973 static void update_device_table(struct protection_domain *domain) in update_device_table()
1988 void amd_iommu_update_and_flush_device_table(struct protection_domain *domain) in amd_iommu_update_and_flush_device_table()
1994 void amd_iommu_domain_update(struct protection_domain *domain) in amd_iommu_domain_update()
2014 static void cleanup_domain(struct protection_domain *domain) in cleanup_domain()
2031 static void protection_domain_free(struct protection_domain *domain) in protection_domain_free()
2045 static int protection_domain_init_v1(struct protection_domain *domain, int mode) in protection_domain_init_v1()
2070 static int protection_domain_init_v2(struct protection_domain *domain) in protection_domain_init_v2()
2093 struct protection_domain *domain; in protection_domain_alloc() local
2160 struct protection_domain *domain; in amd_iommu_domain_alloc() local
2182 struct protection_domain *domain; in amd_iommu_domain_free() local
2204 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_attach_device() local
2239 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_iotlb_sync_map() local
2250 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_map_pages() local
2272 static void amd_iommu_iotlb_gather_add_page(struct iommu_domain *domain, in amd_iommu_iotlb_gather_add_page()
2297 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_unmap_pages() local
2316 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_iova_to_phys() local
2411 static void amd_iommu_flush_iotlb_all(struct iommu_domain *domain) in amd_iommu_flush_iotlb_all()
2422 static void amd_iommu_iotlb_sync(struct iommu_domain *domain, in amd_iommu_iotlb_sync()
2458 static bool amd_iommu_enforce_cache_coherency(struct iommu_domain *domain) in amd_iommu_enforce_cache_coherency()
2513 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_domain_direct_map() local
2526 static int domain_enable_v2(struct protection_domain *domain, int pasids) in domain_enable_v2()
2575 static int __flush_pasid(struct protection_domain *domain, u32 pasid, in __flush_pasid()
2637 static int __amd_iommu_flush_page(struct protection_domain *domain, u32 pasid, in __amd_iommu_flush_page()
2646 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_flush_page() local
2658 static int __amd_iommu_flush_tlb(struct protection_domain *domain, u32 pasid) in __amd_iommu_flush_tlb()
2666 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_flush_tlb() local
2710 static int __set_gcr3(struct protection_domain *domain, u32 pasid, in __set_gcr3()
2727 static int __clear_gcr3(struct protection_domain *domain, u32 pasid) in __clear_gcr3()
2746 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_domain_set_gcr3() local
2760 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_domain_clear_gcr3() local
3352 static int irq_remapping_alloc(struct irq_domain *domain, unsigned int virq, in irq_remapping_alloc()
3463 static void irq_remapping_free(struct irq_domain *domain, unsigned int virq, in irq_remapping_free()
3489 static int irq_remapping_activate(struct irq_domain *domain, in irq_remapping_activate()
3506 static void irq_remapping_deactivate(struct irq_domain *domain, in irq_remapping_deactivate()