Lines Matching refs:platform_ops
150 hd->platform_ops = iommu_get_ops(); in iommu_domain_init()
151 return hd->platform_ops->init(d); in iommu_domain_init()
197 ret = hd->platform_ops->map_page(d, gfn, mfn, mapping); in iommu_hwdom_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()
267 rc = hd->platform_ops->map_page(d, gfn, mfn, flags); 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()
331 rc = hd->platform_ops->iotlb_flush(d, gfn, page_count); in iommu_iotlb_flush()
351 if ( !iommu_enabled || !hd->platform_ops || !hd->platform_ops->iotlb_flush_all ) in iommu_iotlb_flush_all()
354 rc = hd->platform_ops->iotlb_flush_all(d); in iommu_iotlb_flush_all()