Home
last modified time | relevance | path

Searched refs:dom_iommu (Results 1 – 11 of 11) sorted by relevance

/xen-4.10.0-shim-comet/xen/drivers/passthrough/
A Diommu.c140 struct domain_iommu *hd = dom_iommu(d); in iommu_domain_init()
170 const struct domain_iommu *hd = dom_iommu(d); in iommu_hwdom_init()
215 const struct domain_iommu *hd = dom_iommu(d); in iommu_teardown()
250 if ( !iommu_enabled || !dom_iommu(d)->platform_ops ) in iommu_domain_destroy()
261 const struct domain_iommu *hd = dom_iommu(d); in iommu_map_page()
284 const struct domain_iommu *hd = dom_iommu(d); in iommu_unmap_page()
325 const struct domain_iommu *hd = dom_iommu(d); in iommu_iotlb_flush()
348 const struct domain_iommu *hd = dom_iommu(d); in iommu_iotlb_flush_all()
479 return test_bit(feature, dom_iommu(d)->features); in iommu_has_feature()
A Ddevice_tree.c30 struct domain_iommu *hd = dom_iommu(d); in iommu_assign_dt_device()
72 const struct domain_iommu *hd = dom_iommu(d); in iommu_deassign_dt_device()
112 INIT_LIST_HEAD(&dom_iommu(d)->dt_devices); in iommu_dt_domain_init()
119 const struct domain_iommu *hd = dom_iommu(d); in iommu_release_dt_devices()
A Dpci.c1294 hd = dom_iommu(pdev->domain); in iommu_add_device()
1323 hd = dom_iommu(pdev->domain); in iommu_enable_device()
1339 hd = dom_iommu(pdev->domain); in iommu_remove_device()
1379 const struct domain_iommu *hd = dom_iommu(d); in assign_device()
1442 const struct domain_iommu *hd = dom_iommu(d); in deassign_device()
1492 const struct domain_iommu *hd = dom_iommu(d); in iommu_get_device_group()
/xen-4.10.0-shim-comet/xen/drivers/passthrough/amd/
A Dpci_amd_iommu.c119 const struct domain_iommu *hd = dom_iommu(domain); in amd_iommu_setup_domain_device()
239 struct domain_iommu *hd = dom_iommu(d); in amd_iommu_domain_init()
256 if ( allocate_domain_resources(dom_iommu(d)) ) in amd_iommu_hwdom_init()
326 dom_iommu(domain)->arch.paging_mode); in amd_iommu_disable_domain_device()
343 struct domain_iommu *t = dom_iommu(target); in reassign_device()
443 struct domain_iommu *hd = dom_iommu(d); in deallocate_iommu_page_tables()
592 const struct domain_iommu *hd = dom_iommu(d); in amd_dump_p2m_table()
A Diommu_map.c341 struct domain_iommu *hd = dom_iommu(d); in iommu_update_pde_count()
396 struct domain_iommu *hd = dom_iommu(d); in iommu_merge_pages()
446 const struct domain_iommu *hd = dom_iommu(d); in iommu_pde_from_gfn()
555 struct domain_iommu *hd = dom_iommu(d); in update_paging_mode()
638 struct domain_iommu *hd = dom_iommu(d); in amd_iommu_map_page()
726 struct domain_iommu *hd = dom_iommu(d); in amd_iommu_unmap_page()
800 struct domain_iommu *hd = dom_iommu(d); in amd_iommu_share_p2m()
A Diommu_guest.c61 return dom_iommu(d)->arch.g_iommu; in domain_iommu()
66 return dom_iommu(v->domain)->arch.g_iommu; in vcpu_iommu()
887 struct domain_iommu *hd = dom_iommu(d); in guest_iommu_init()
926 dom_iommu(d)->arch.g_iommu = NULL; in guest_iommu_destroy()
/xen-4.10.0-shim-comet/xen/include/xen/
A Diommu.h90 #define dom_iommu(d) (&(d)->iommu) macro
91 #define iommu_set_feature(d, f) set_bit(f, dom_iommu(d)->features)
92 #define iommu_clear_feature(d, f) clear_bit(f, dom_iommu(d)->features)
/xen-4.10.0-shim-comet/xen/drivers/passthrough/x86/
A Diommu.c44 const struct domain_iommu *hd = dom_iommu(d); in arch_iommu_populate_page_table()
123 struct domain_iommu *hd = dom_iommu(d); in arch_iommu_domain_init()
/xen-4.10.0-shim-comet/xen/drivers/passthrough/vtd/
A Diommu.c256 struct domain_iommu *hd = dom_iommu(domain); in addr_to_dma_page_maddr()
592 struct domain_iommu *hd = dom_iommu(d); in iommu_flush_iotlb()
650 struct domain_iommu *hd = dom_iommu(domain); in dma_pte_clear_one()
1328 struct domain_iommu *hd = dom_iommu(domain); in domain_context_mapping_one()
1723 clear_bit(iommu->index, &dom_iommu(domain)->arch.iommu_bitmap); in domain_context_unmap()
1742 struct domain_iommu *hd = dom_iommu(d); in iommu_domain_teardown()
1768 struct domain_iommu *hd = dom_iommu(d); in intel_iommu_map_page()
1834 struct domain_iommu *hd = dom_iommu(d); in iommu_pte_flush()
1897 dom_iommu(d)->arch.pgd_maddr = in iommu_set_pgd()
1908 struct domain_iommu *hd = dom_iommu(d); in rmrr_identity_mapping()
[all …]
/xen-4.10.0-shim-comet/xen/drivers/passthrough/arm/
A Dsmmu.c2534 struct arm_smmu_xen_domain *smmu_domain = dom_iommu(d)->arch.priv; in arm_smmu_iotlb_flush_all()
2568 xen_domain = dom_iommu(d)->arch.priv; in arm_smmu_get_domain()
2601 xen_domain = dom_iommu(d)->arch.priv; in arm_smmu_assign_dev()
2662 xen_domain = dom_iommu(d)->arch.priv; in arm_smmu_deassign_dev()
2719 dom_iommu(d)->arch.priv = xen_domain; in arm_smmu_iommu_domain_init()
2734 struct arm_smmu_xen_domain *xen_domain = dom_iommu(d)->arch.priv; in arm_smmu_iommu_domain_teardown()
/xen-4.10.0-shim-comet/xen/arch/x86/
A Dtboot.c230 const struct domain_iommu *dio = dom_iommu(d); in tboot_gen_domain_integrity()

Completed in 28 milliseconds