cregit-Linux how code gets into the kernel

Release 4.11 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

PersonTokensPropCommitsCommitProp
David S. Miller24100.00%1100.00%
Total24100.00%1100.00%

extern const struct dma_map_ops *dma_ops; extern const struct dma_map_ops *leon_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 leon_dma_ops; #endif #if defined(CONFIG_SPARC32) && defined(CONFIG_PCI) if (bus == &pci_bus_type) return &pci32_dma_ops; #endif return dma_ops; }

Contributors

PersonTokensPropCommitsCommitProp
FUJITA Tomonori3867.86%350.00%
Andreas Larsson1425.00%116.67%
Bart Van Assche47.14%233.33%
Total56100.00%6100.00%

#endif

Overall Contributors

PersonTokensPropCommitsCommitProp
FUJITA Tomonori7150.00%533.33%
David S. Miller2618.31%213.33%
Andreas Larsson149.86%16.67%
Sam Ravnborg128.45%213.33%
Bart Van Assche74.93%213.33%
Keith M. Wesolowski64.23%16.67%
Christoph Hellwig42.82%16.67%
Al Viro21.41%16.67%
Total142100.00%15100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.