Searched refs:iommu_present (Results 1 – 20 of 20) sorted by relevance
197 if (!iommu_present(&pci_bus_type)) in adf_sriov_configure()
629 if (!iommu_present(&platform_bus_type)) in mtk_iommu_probe()642 if (iommu_present(&platform_bus_type)) in mtk_iommu_remove()
1098 if (!iommu_present(&platform_bus_type)) in ipmmu_probe()1195 if (!iommu_present(&platform_bus_type)) in ipmmu_init()
758 if (!iommu_present(&platform_bus_type)) in mtk_iommu_probe()771 if (iommu_present(&platform_bus_type)) in mtk_iommu_remove()
1854 bool iommu_present(struct bus_type *bus) in iommu_present() function1858 EXPORT_SYMBOL_GPL(iommu_present);
126 if (iommu_present(&platform_bus_type)) { in nvkm_device_tegra_probe_iommu()
418 extern bool iommu_present(struct bus_type *bus);651 static inline bool iommu_present(struct bus_type *bus) in iommu_present() function
2050 if (!iommu_present(&platform_bus_type)) { in arm_smmu_bus_init()2056 if (!iommu_present(&amba_bustype)) { in arm_smmu_bus_init()2063 if (!iommu_present(&pci_bus_type)) { in arm_smmu_bus_init()2070 if (!iommu_present(&fsl_mc_bus_type)) { in arm_smmu_bus_init()
562 if (!iommu_present(&pci_bus_type)) { in usnic_uiom_init()
174 if (!iommu_present(&platform_bus_type)) in mtk_drm_kms_init()
251 iommu_present(&pci_bus_type) && dmar_platform_optin()); in iommu_dma_protection_show()
315 if (iommu_present(&platform_bus_type)) { in malidp_get_pgsize_bitmap()
721 if (iommu_present(&pci_bus_type)) in ef4_init_rx_recycle_ring()
4075 } else if (addr >= HOST_PHYS_BASE && !iommu_present(&pci_bus_type)) { in goya_debugfs_read32()4131 } else if (addr >= HOST_PHYS_BASE && !iommu_present(&pci_bus_type)) { in goya_debugfs_write32()4176 } else if (addr >= HOST_PHYS_BASE && !iommu_present(&pci_bus_type)) { in goya_debugfs_read64()4219 } else if (addr >= HOST_PHYS_BASE && !iommu_present(&pci_bus_type)) { in goya_debugfs_write64()
143 if (iommu_present(&pci_bus_type)) in efx_init_rx_recycle_ring()
319 return priv->is_a2xx || iommu_present(&platform_bus_type); in msm_use_mmu()
1103 if (host1x_drm_wants_iommu(dev) && iommu_present(&platform_bus_type)) { in host1x_drm_probe()
4566 } else if (addr >= HOST_PHYS_BASE && !iommu_present(&pci_bus_type)) { in gaudi_debugfs_read32()4613 } else if (addr >= HOST_PHYS_BASE && !iommu_present(&pci_bus_type)) { in gaudi_debugfs_write32()4664 } else if (addr >= HOST_PHYS_BASE && !iommu_present(&pci_bus_type)) { in gaudi_debugfs_read64()4714 } else if (addr >= HOST_PHYS_BASE && !iommu_present(&pci_bus_type)) { in gaudi_debugfs_write64()
1767 if (!iommu_present(emu->card->dev->bus)) in snd_emu10k1_detect_iommu()
131 if (group || !noiommu || iommu_present(dev->bus)) in vfio_iommu_group_get()