Home
last modified time | relevance | path

Searched refs:platform_ops (Results 1 – 6 of 6) sorted by relevance

/xen-4.10.0-shim-comet/xen/drivers/passthrough/
A Diommu.c150 hd->platform_ops = iommu_get_ops(); in iommu_domain_init()
151 return hd->platform_ops->init(d); in iommu_domain_init()
210 return hd->platform_ops->hwdom_init(d); in iommu_hwdom_init()
218 hd->platform_ops->teardown(d); in iommu_teardown()
250 if ( !iommu_enabled || !dom_iommu(d)->platform_ops ) in iommu_domain_destroy()
264 if ( !iommu_enabled || !hd->platform_ops ) in iommu_map_page()
287 if ( !iommu_enabled || !hd->platform_ops ) in iommu_unmap_page()
290 rc = hd->platform_ops->unmap_page(d, gfn); in iommu_unmap_page()
328 if ( !iommu_enabled || !hd->platform_ops || !hd->platform_ops->iotlb_flush ) in iommu_iotlb_flush()
351 if ( !iommu_enabled || !hd->platform_ops || !hd->platform_ops->iotlb_flush_all ) in iommu_iotlb_flush_all()
[all …]
A Ddevice_tree.c32 if ( !iommu_enabled || !hd->platform_ops ) in iommu_assign_dt_device()
56 rc = hd->platform_ops->assign_device(d, 0, dt_to_dev(dev), 0); in iommu_assign_dt_device()
75 if ( !iommu_enabled || !hd->platform_ops ) in iommu_deassign_dt_device()
83 rc = hd->platform_ops->reassign_device(d, NULL, 0, dt_to_dev(dev)); in iommu_deassign_dt_device()
A Dpci.c1295 if ( !iommu_enabled || !hd->platform_ops ) in iommu_add_device()
1298 rc = hd->platform_ops->add_device(pdev->devfn, pci_to_dev(pdev)); in iommu_add_device()
1307 rc = hd->platform_ops->add_device(devfn, pci_to_dev(pdev)); in iommu_add_device()
1324 if ( !iommu_enabled || !hd->platform_ops || in iommu_enable_device()
1325 !hd->platform_ops->enable_device ) in iommu_enable_device()
1328 return hd->platform_ops->enable_device(pci_to_dev(pdev)); in iommu_enable_device()
1340 if ( !iommu_enabled || !hd->platform_ops ) in iommu_remove_device()
1350 rc = hd->platform_ops->remove_device(devfn, pci_to_dev(pdev)); in iommu_remove_device()
1383 if ( !iommu_enabled || !hd->platform_ops ) in assign_device()
1446 if ( !iommu_enabled || !hd->platform_ops ) in deassign_device()
[all …]
/xen-4.10.0-shim-comet/tools/libxc/
A Dxc_resource.c52 xc_hypercall_buffer_array_t *platform_ops, *entries_list = NULL; in xc_resource_op_multi() local
59 platform_ops = xc_hypercall_buffer_array_create(xch, nr_ops); in xc_resource_op_multi()
60 if ( !platform_ops ) in xc_resource_op_multi()
80 platform_op = xc_hypercall_buffer_array_alloc(xch, platform_ops, i, in xc_resource_op_multi()
127 xc_hypercall_buffer_array_destroy(xch, platform_ops); in xc_resource_op_multi()
/xen-4.10.0-shim-comet/xen/drivers/passthrough/x86/
A Diommu.c68 rc = hd->platform_ops->map_page(d, gfn, mfn, in arch_iommu_populate_page_table()
/xen-4.10.0-shim-comet/xen/include/xen/
A Diommu.h79 const struct iommu_ops *platform_ops; member

Completed in 9 milliseconds