Home
last modified time | relevance | path

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

/xen/xen/drivers/passthrough/
A Diommu.c185 hd->platform_ops = iommu_get_ops(); in iommu_domain_init()
186 ret = hd->platform_ops->init(d); in iommu_domain_init()
221 hd->platform_ops->hwdom_init(d); in iommu_hwdom_init()
228 hd->platform_ops->teardown(d); in iommu_teardown()
363 if ( !is_iommu_enabled(d) || !hd->platform_ops->lookup_page ) in iommu_lookup_page()
392 if ( !is_iommu_enabled(d) || !hd->platform_ops->iotlb_flush || in iommu_iotlb_flush()
399 rc = iommu_call(hd->platform_ops, iotlb_flush, d, dfn, page_count, in iommu_iotlb_flush()
420 if ( !is_iommu_enabled(d) || !hd->platform_ops->iotlb_flush_all || in iommu_iotlb_flush_all()
428 rc = iommu_call(hd->platform_ops, iotlb_flush_all, d); in iommu_iotlb_flush_all()
454 if ( !hd->platform_ops->quarantine_init ) in iommu_quarantine_init()
[all …]
A Ddevice_tree.c46 rc = hd->platform_ops->assign_device(d, 0, dt_to_dev(dev), 0); in iommu_assign_dt_device()
73 rc = hd->platform_ops->reassign_device(d, NULL, 0, dt_to_dev(dev)); in iommu_deassign_dt_device()
A Dpci.c952 ret = hd->platform_ops->reassign_device(d, target, devfn, in deassign_device()
959 ret = hd->platform_ops->reassign_device(d, target, devfn, in deassign_device()
1420 rc = hd->platform_ops->add_device(pdev->devfn, pci_to_dev(pdev)); in iommu_add_device()
1429 rc = hd->platform_ops->add_device(devfn, pci_to_dev(pdev)); in iommu_add_device()
1447 !hd->platform_ops->enable_device ) in iommu_enable_device()
1450 return hd->platform_ops->enable_device(pci_to_dev(pdev)); in iommu_enable_device()
1472 rc = hd->platform_ops->remove_device(devfn, pci_to_dev(pdev)); in iommu_remove_device()
1481 return hd->platform_ops->remove_device(pdev->devfn, pci_to_dev(pdev)); in iommu_remove_device()
1540 if ( (rc = hd->platform_ops->assign_device(d, devfn, pci_to_dev(pdev), flag)) ) in assign_device()
1548 rc = hd->platform_ops->assign_device(d, devfn, pci_to_dev(pdev), flag); in assign_device()
[all …]
/xen/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/xen/include/xen/
A Diommu.h314 const struct iommu_ops *platform_ops; member

Completed in 11 milliseconds