]>
git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blob - include/linux/of_iommu.h
1 /* SPDX-License-Identifier: GPL-2.0 */
5 #include <linux/device.h>
6 #include <linux/iommu.h>
11 extern int of_get_dma_window(struct device_node
*dn
, const char *prefix
,
12 int index
, unsigned long *busno
, dma_addr_t
*addr
,
15 extern const struct iommu_ops
*of_iommu_configure(struct device
*dev
,
16 struct device_node
*master_np
);
20 static inline int of_get_dma_window(struct device_node
*dn
, const char *prefix
,
21 int index
, unsigned long *busno
, dma_addr_t
*addr
,
27 static inline const struct iommu_ops
*of_iommu_configure(struct device
*dev
,
28 struct device_node
*master_np
)
33 #endif /* CONFIG_OF_IOMMU */
35 #endif /* __OF_IOMMU_H */