Release 4.7 include/linux/of_iommu.h
#ifndef __OF_IOMMU_H
#define __OF_IOMMU_H
#include <linux/device.h>
#include <linux/iommu.h>
#include <linux/of.h>
#ifdef CONFIG_OF_IOMMU
extern int of_get_dma_window(struct device_node *dn, const char *prefix,
int index, unsigned long *busno, dma_addr_t *addr,
size_t *size);
extern void of_iommu_init(void);
extern const struct iommu_ops *of_iommu_configure(struct device *dev,
struct device_node *master_np);
#else
static inline int of_get_dma_window(struct device_node *dn, const char *prefix,
int index, unsigned long *busno, dma_addr_t *addr,
size_t *size)
{
return -EINVAL;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
hiroshi doyu | hiroshi doyu | 37 | 100.00% | 1 | 100.00% |
| Total | 37 | 100.00% | 1 | 100.00% |
static inline void of_iommu_init(void) { }
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
will deacon | will deacon | 8 | 100.00% | 1 | 100.00% |
| Total | 8 | 100.00% | 1 | 100.00% |
static inline const struct iommu_ops *of_iommu_configure(struct device *dev,
struct device_node *master_np)
{
return NULL;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
will deacon | will deacon | 17 | 73.91% | 1 | 33.33% |
murali karicheri | murali karicheri | 5 | 21.74% | 1 | 33.33% |
robin murphy | robin murphy | 1 | 4.35% | 1 | 33.33% |
| Total | 23 | 100.00% | 3 | 100.00% |
#endif /* CONFIG_OF_IOMMU */
void of_iommu_set_ops(struct device_node *np, const struct iommu_ops *ops);
const struct iommu_ops *of_iommu_get_ops(struct device_node *np);
extern struct of_device_id __iommu_of_table;
typedef int (*of_iommu_init_fn)(struct device_node *);
#define IOMMU_OF_DECLARE(name, compat, fn) \
_OF_DECLARE(iommu, name, compat, fn, of_iommu_init_fn)
#endif /* __OF_IOMMU_H */
Overall Contributors
| Person | Tokens | Prop | Commits | CommitProp |
will deacon | will deacon | 105 | 50.97% | 2 | 33.33% |
hiroshi doyu | hiroshi doyu | 85 | 41.26% | 1 | 16.67% |
murali karicheri | murali karicheri | 10 | 4.85% | 1 | 16.67% |
robin murphy | robin murphy | 6 | 2.91% | 2 | 33.33% |
| Total | 206 | 100.00% | 6 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.