Lines Matching refs:platform_ops
1295 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()
1359 return hd->platform_ops->remove_device(pdev->devfn, pci_to_dev(pdev)); in iommu_remove_device()
1383 if ( !iommu_enabled || !hd->platform_ops ) in assign_device()
1416 if ( (rc = hd->platform_ops->assign_device(d, devfn, pci_to_dev(pdev), flag)) ) in assign_device()
1424 rc = hd->platform_ops->assign_device(d, devfn, pci_to_dev(pdev), flag); in assign_device()
1446 if ( !iommu_enabled || !hd->platform_ops ) in deassign_device()
1459 ret = hd->platform_ops->reassign_device(d, hardware_domain, devfn, in deassign_device()
1470 ret = hd->platform_ops->reassign_device(d, hardware_domain, devfn, in deassign_device()
1497 const struct iommu_ops *ops = hd->platform_ops; in iommu_get_device_group()