Release 4.8 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);
#endif /* _ASM_DMA_MAPPING_H */
Overall Contributors
| Person | Tokens | Prop | Commits | CommitProp |
| david daney | david daney | 70 | 50.00% | 1 | 12.50% |
| ralf baechle | ralf baechle | 54 | 38.57% | 2 | 25.00% |
| andrew morton | andrew morton | 9 | 6.43% | 1 | 12.50% |
| steven j. hill | steven j. hill | 3 | 2.14% | 1 | 12.50% |
| james bottomley | james bottomley | 2 | 1.43% | 1 | 12.50% |
| christoph hellwig | christoph hellwig | 1 | 0.71% | 1 | 12.50% |
| joe perches | joe perches | 1 | 0.71% | 1 | 12.50% |
| Total | 140 | 100.00% | 8 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.