Release 4.11 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 const struct dma_map_ops *mips_dma_map_ops;
static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
{
return mips_dma_map_ops;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
David Daney | 9 | 50.00% | 1 | 20.00% |
Bart Van Assche | 4 | 22.22% | 2 | 40.00% |
Andrew Morton | 3 | 16.67% | 1 | 20.00% |
Ralf Bächle | 2 | 11.11% | 1 | 20.00% |
Total | 18 | 100.00% | 5 | 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 | 24 | 63.16% | 1 | 33.33% |
Ralf Bächle | 13 | 34.21% | 1 | 33.33% |
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 Bächle | 7 | 53.85% | 1 | 50.00% |
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 | 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 |
Ralf Bächle | 54 | 32.14% | 2 | 18.18% |
David Daney | 51 | 30.36% | 1 | 9.09% |
Paul Burton | 44 | 26.19% | 1 | 9.09% |
Andrew Morton | 7 | 4.17% | 1 | 9.09% |
Bart Van Assche | 5 | 2.98% | 2 | 18.18% |
Steven J. Hill | 3 | 1.79% | 1 | 9.09% |
James Bottomley | 2 | 1.19% | 1 | 9.09% |
Christoph Hellwig | 1 | 0.60% | 1 | 9.09% |
Joe Perches | 1 | 0.60% | 1 | 9.09% |
Total | 168 | 100.00% | 11 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.