Lines Matching defs:domain

1461 static void __domain_flush_pages(struct protection_domain *domain,  in __domain_flush_pages()
1497 void amd_iommu_domain_flush_pages(struct protection_domain *domain, in amd_iommu_domain_flush_pages()
1548 static void amd_iommu_domain_flush_all(struct protection_domain *domain) in amd_iommu_domain_flush_all()
1554 void amd_iommu_domain_flush_complete(struct protection_domain *domain) in amd_iommu_domain_flush_complete()
1571 static void domain_flush_np_cache(struct protection_domain *domain, in domain_flush_np_cache()
1587 static void domain_flush_devices(struct protection_domain *domain) in domain_flush_devices()
1659 static void free_gcr3_table(struct protection_domain *domain) in free_gcr3_table()
1688 static int setup_gcr3_table(struct protection_domain *domain, int pasids) in setup_gcr3_table()
1708 struct protection_domain *domain, bool ats, bool ppr) in set_dte_entry()
1808 struct protection_domain *domain) in do_attach()
1840 struct protection_domain *domain = dev_data->domain; in do_detach() local
1869 struct protection_domain *domain) in attach_device()
1904 struct protection_domain *domain; in detach_device() local
2007 static void update_device_table(struct protection_domain *domain) in update_device_table()
2022 void amd_iommu_update_and_flush_device_table(struct protection_domain *domain) in amd_iommu_update_and_flush_device_table()
2028 void amd_iommu_domain_update(struct protection_domain *domain) in amd_iommu_domain_update()
2047 static void cleanup_domain(struct protection_domain *domain) in cleanup_domain()
2065 static void protection_domain_free(struct protection_domain *domain) in protection_domain_free()
2085 static int protection_domain_init_v1(struct protection_domain *domain, int mode) in protection_domain_init_v1()
2102 static int protection_domain_init_v2(struct protection_domain *domain) in protection_domain_init_v2()
2117 struct protection_domain *domain; in protection_domain_alloc() local
2194 struct protection_domain *domain; in do_iommu_domain_alloc() local
2235 struct iommu_domain *domain; in amd_iommu_domain_alloc() local
2260 struct protection_domain *domain; in amd_iommu_domain_free() local
2281 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_attach_device() local
2323 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_iotlb_sync_map() local
2335 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_map_pages() local
2357 static void amd_iommu_iotlb_gather_add_page(struct iommu_domain *domain, in amd_iommu_iotlb_gather_add_page()
2382 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_unmap_pages() local
2401 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_iova_to_phys() local
2432 static int amd_iommu_set_dirty_tracking(struct iommu_domain *domain, in amd_iommu_set_dirty_tracking()
2476 static int amd_iommu_read_and_clear_dirty(struct iommu_domain *domain, in amd_iommu_read_and_clear_dirty()
2566 static void amd_iommu_flush_iotlb_all(struct iommu_domain *domain) in amd_iommu_flush_iotlb_all()
2576 static void amd_iommu_iotlb_sync(struct iommu_domain *domain, in amd_iommu_iotlb_sync()
2612 static bool amd_iommu_enforce_cache_coherency(struct iommu_domain *domain) in amd_iommu_enforce_cache_coherency()
2648 static int __flush_pasid(struct protection_domain *domain, u32 pasid, in __flush_pasid()
2710 static int __amd_iommu_flush_page(struct protection_domain *domain, u32 pasid, in __amd_iommu_flush_page()
2719 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_flush_page() local
2730 static int __amd_iommu_flush_tlb(struct protection_domain *domain, u32 pasid) in __amd_iommu_flush_tlb()
2737 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_flush_tlb() local
2780 static int __set_gcr3(struct protection_domain *domain, u32 pasid, in __set_gcr3()
2797 static int __clear_gcr3(struct protection_domain *domain, u32 pasid) in __clear_gcr3()
2816 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_domain_set_gcr3() local
2829 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_domain_clear_gcr3() local
3389 static int irq_remapping_alloc(struct irq_domain *domain, unsigned int virq, in irq_remapping_alloc()
3500 static void irq_remapping_free(struct irq_domain *domain, unsigned int virq, in irq_remapping_free()
3526 static int irq_remapping_activate(struct irq_domain *domain, in irq_remapping_activate()
3543 static void irq_remapping_deactivate(struct irq_domain *domain, in irq_remapping_deactivate()