Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.6-rc6 34 lines 703 B view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __OF_IOMMU_H 3#define __OF_IOMMU_H 4 5struct device; 6struct device_node; 7struct iommu_ops; 8 9#ifdef CONFIG_OF_IOMMU 10 11extern const struct iommu_ops *of_iommu_configure(struct device *dev, 12 struct device_node *master_np, 13 const u32 *id); 14 15extern void of_iommu_get_resv_regions(struct device *dev, 16 struct list_head *list); 17 18#else 19 20static inline const struct iommu_ops *of_iommu_configure(struct device *dev, 21 struct device_node *master_np, 22 const u32 *id) 23{ 24 return NULL; 25} 26 27static inline void of_iommu_get_resv_regions(struct device *dev, 28 struct list_head *list) 29{ 30} 31 32#endif /* CONFIG_OF_IOMMU */ 33 34#endif /* __OF_IOMMU_H */