Release 4.10 arch/mips/include/asm/dma-mapping.h
#ifndef _ASM_DMA_MAPPING_H
#define _ASM_DMA_MAPPING_H
#include <linux/scatterlist.h>
#include <asm/dma-coherence.h>
#include <asm/cache.h>
#ifndef CONFIG_SGI_IP27 /* Kludge to fix 2.6.39 build for IP27 */
#include <dma-coherence.h>
#endif
extern struct dma_map_ops *mips_dma_map_ops;
static inline struct dma_map_ops *get_dma_ops(struct device *dev)
{
if (dev && dev->archdata.dma_ops)
return dev->archdata.dma_ops;
else
return mips_dma_map_ops;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
david daney | david daney | 28 | 80.00% | 1 | 33.33% |
andrew morton | andrew morton | 5 | 14.29% | 1 | 33.33% |
ralf baechle | ralf baechle | 2 | 5.71% | 1 | 33.33% |
| Total | 35 | 100.00% | 3 | 100.00% |
static inline bool dma_capable(struct device *dev, dma_addr_t addr, size_t size)
{
if (!dev->dma_mask)
return false;
return addr + size <= *dev->dma_mask;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
david daney | david daney | 24 | 63.16% | 1 | 33.33% |
ralf baechle | ralf baechle | 13 | 34.21% | 1 | 33.33% |
joe perches | joe perches | 1 | 2.63% | 1 | 33.33% |
| Total | 38 | 100.00% | 3 | 100.00% |
static inline void dma_mark_clean(void *addr, size_t size) {}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
ralf baechle | ralf baechle | 7 | 53.85% | 1 | 50.00% |
david daney | david daney | 6 | 46.15% | 1 | 50.00% |
| Total | 13 | 100.00% | 2 | 100.00% |
extern void dma_cache_sync(struct device *dev, void *vaddr, size_t size,
enum dma_data_direction direction);
#define arch_setup_dma_ops arch_setup_dma_ops
static inline void arch_setup_dma_ops(struct device *dev, u64 dma_base,
u64 size, const struct iommu_ops *iommu,
bool coherent)
{
#ifdef CONFIG_DMA_PERDEV_COHERENT
dev->archdata.dma_coherent = coherent;
#endif
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
paul burton | paul burton | 40 | 100.00% | 1 | 100.00% |
| Total | 40 | 100.00% | 1 | 100.00% |
#endif /* _ASM_DMA_MAPPING_H */
Overall Contributors
| Person | Tokens | Prop | Commits | CommitProp |
david daney | david daney | 70 | 38.04% | 1 | 11.11% |
ralf baechle | ralf baechle | 54 | 29.35% | 2 | 22.22% |
paul burton | paul burton | 44 | 23.91% | 1 | 11.11% |
andrew morton | andrew morton | 9 | 4.89% | 1 | 11.11% |
steven j. hill | steven j. hill | 3 | 1.63% | 1 | 11.11% |
james bottomley | james bottomley | 2 | 1.09% | 1 | 11.11% |
christoph hellwig | christoph hellwig | 1 | 0.54% | 1 | 11.11% |
joe perches | joe perches | 1 | 0.54% | 1 | 11.11% |
| Total | 184 | 100.00% | 9 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.