Lines Matching defs:domain

1260 static void __domain_flush_pages(struct protection_domain *domain,  in __domain_flush_pages()
1291 static void domain_flush_pages(struct protection_domain *domain, in domain_flush_pages()
1335 void amd_iommu_domain_flush_tlb_pde(struct protection_domain *domain) in amd_iommu_domain_flush_tlb_pde()
1340 void amd_iommu_domain_flush_complete(struct protection_domain *domain) in amd_iommu_domain_flush_complete()
1357 static void domain_flush_np_cache(struct protection_domain *domain, in domain_flush_np_cache()
1374 static void domain_flush_devices(struct protection_domain *domain) in domain_flush_devices()
1446 static void free_gcr3_table(struct protection_domain *domain) in free_gcr3_table()
1458 static void set_dte_entry(u16 devid, struct protection_domain *domain, in set_dte_entry()
1539 struct protection_domain *domain) in do_attach()
1565 struct protection_domain *domain = dev_data->domain; in do_detach() local
1635 struct protection_domain *domain) in attach_device()
1704 struct protection_domain *domain; in detach_device() local
1808 static void update_device_table(struct protection_domain *domain) in update_device_table()
1819 void amd_iommu_update_and_flush_device_table(struct protection_domain *domain) in amd_iommu_update_and_flush_device_table()
1825 void amd_iommu_domain_update(struct protection_domain *domain) in amd_iommu_domain_update()
1871 static void cleanup_domain(struct protection_domain *domain) in cleanup_domain()
1888 static void protection_domain_free(struct protection_domain *domain) in protection_domain_free()
1902 static int protection_domain_init_v1(struct protection_domain *domain, int mode) in protection_domain_init_v1()
1928 struct protection_domain *domain; in protection_domain_alloc() local
1971 struct protection_domain *domain; in amd_iommu_domain_alloc() local
1986 struct protection_domain *domain; in amd_iommu_domain_free() local
2033 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_attach_device() local
2070 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_iotlb_sync_map() local
2081 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_map() local
2101 static void amd_iommu_iotlb_gather_add_page(struct iommu_domain *domain, in amd_iommu_iotlb_gather_add_page()
2126 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_unmap() local
2144 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_iova_to_phys() local
2218 bool amd_iommu_is_attach_deferred(struct iommu_domain *domain, in amd_iommu_is_attach_deferred()
2227 static void amd_iommu_flush_iotlb_all(struct iommu_domain *domain) in amd_iommu_flush_iotlb_all()
2238 static void amd_iommu_iotlb_sync(struct iommu_domain *domain, in amd_iommu_iotlb_sync()
2317 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_domain_direct_map() local
2331 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_domain_enable_v2() local
2372 static int __flush_pasid(struct protection_domain *domain, u32 pasid, in __flush_pasid()
2433 static int __amd_iommu_flush_page(struct protection_domain *domain, u32 pasid, in __amd_iommu_flush_page()
2442 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_flush_page() local
2454 static int __amd_iommu_flush_tlb(struct protection_domain *domain, u32 pasid) in __amd_iommu_flush_tlb()
2462 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_flush_tlb() local
2506 static int __set_gcr3(struct protection_domain *domain, u32 pasid, in __set_gcr3()
2523 static int __clear_gcr3(struct protection_domain *domain, u32 pasid) in __clear_gcr3()
2542 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_domain_set_gcr3() local
2556 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_domain_clear_gcr3() local
3136 static int irq_remapping_alloc(struct irq_domain *domain, unsigned int virq, in irq_remapping_alloc()
3249 static void irq_remapping_free(struct irq_domain *domain, unsigned int virq, in irq_remapping_free()
3275 static int irq_remapping_activate(struct irq_domain *domain, in irq_remapping_activate()
3292 static void irq_remapping_deactivate(struct irq_domain *domain, in irq_remapping_deactivate()