Release 4.14 arch/sparc/include/asm/dma-mapping.h
/* SPDX-License-Identifier: GPL-2.0 */
#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>
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 | 24 | 100.00% | 1 | 100.00% |
Total | 24 | 100.00% | 1 | 100.00% |
extern const struct dma_map_ops *dma_ops;
extern const struct dma_map_ops pci32_dma_ops;
extern struct bus_type pci_bus_type;
static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
{
#ifdef CONFIG_SPARC_LEON
if (sparc_cpu_model == sparc_leon)
return &pci32_dma_ops;
#endif
#if defined(CONFIG_SPARC32) && defined(CONFIG_PCI)
if (bus == &pci_bus_type)
return &pci32_dma_ops;
#endif
return dma_ops;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
FUJITA Tomonori | 38 | 66.67% | 4 | 50.00% |
Andreas Larsson | 13 | 22.81% | 1 | 12.50% |
Bart Van Assche | 4 | 7.02% | 2 | 25.00% |
Christoph Hellwig | 2 | 3.51% | 1 | 12.50% |
Total | 57 | 100.00% | 8 | 100.00% |
#endif
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
FUJITA Tomonori | 55 | 47.01% | 5 | 31.25% |
David S. Miller | 28 | 23.93% | 2 | 12.50% |
Andreas Larsson | 13 | 11.11% | 1 | 6.25% |
Bart Van Assche | 6 | 5.13% | 2 | 12.50% |
Sam Ravnborg | 6 | 5.13% | 2 | 12.50% |
Keith M. Wesolowski | 4 | 3.42% | 1 | 6.25% |
Christoph Hellwig | 2 | 1.71% | 1 | 6.25% |
Al Viro | 2 | 1.71% | 1 | 6.25% |
Greg Kroah-Hartman | 1 | 0.85% | 1 | 6.25% |
Total | 117 | 100.00% | 16 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.