Release 4.10 arch/sparc/include/asm/dma-mapping.h
#ifndef ___ASM_SPARC_DMA_MAPPING_H
#define ___ASM_SPARC_DMA_MAPPING_H
#include <linux/scatterlist.h>
#include <linux/mm.h>
#include <linux/dma-debug.h>
#define DMA_ERROR_CODE (~(dma_addr_t)0x0)
#define HAVE_ARCH_DMA_SUPPORTED 1
int dma_supported(struct device *dev, u64 mask);
static inline void dma_cache_sync(struct device *dev, void *vaddr, size_t size,
enum dma_data_direction dir)
{
/* Since dma_{alloc,free}_noncoherent() allocated coherent memory, this
* routine can be a nop.
*/
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
david s. miller | david s. miller | 24 | 100.00% | 1 | 100.00% |
| Total | 24 | 100.00% | 1 | 100.00% |
extern struct dma_map_ops *dma_ops;
extern struct dma_map_ops *leon_dma_ops;
extern struct dma_map_ops pci32_dma_ops;
extern struct bus_type pci_bus_type;
static inline struct dma_map_ops *get_dma_ops(struct device *dev)
{
#ifdef CONFIG_SPARC_LEON
if (sparc_cpu_model == sparc_leon)
return leon_dma_ops;
#endif
#if defined(CONFIG_SPARC32) && defined(CONFIG_PCI)
if (dev->bus == &pci_bus_type)
return &pci32_dma_ops;
#endif
return dma_ops;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
fujita tomonori | fujita tomonori | 43 | 75.44% | 3 | 75.00% |
andreas larsson | andreas larsson | 14 | 24.56% | 1 | 25.00% |
| Total | 57 | 100.00% | 4 | 100.00% |
#endif
Overall Contributors
| Person | Tokens | Prop | Commits | CommitProp |
fujita tomonori | fujita tomonori | 76 | 54.29% | 5 | 38.46% |
david s. miller | david s. miller | 26 | 18.57% | 2 | 15.38% |
andreas larsson | andreas larsson | 14 | 10.00% | 1 | 7.69% |
sam ravnborg | sam ravnborg | 12 | 8.57% | 2 | 15.38% |
keith m. wesolowski | keith m. wesolowski | 6 | 4.29% | 1 | 7.69% |
christoph hellwig | christoph hellwig | 4 | 2.86% | 1 | 7.69% |
al viro | al viro | 2 | 1.43% | 1 | 7.69% |
| Total | 140 | 100.00% | 13 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.