cregit-Linux how code gets into the kernel

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

PersonTokensPropCommitsCommitProp
david s. millerdavid s. miller24100.00%1100.00%
Total24100.00%1100.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

PersonTokensPropCommitsCommitProp
fujita tomonorifujita tomonori4375.44%375.00%
andreas larssonandreas larsson1424.56%125.00%
Total57100.00%4100.00%

#endif

Overall Contributors

PersonTokensPropCommitsCommitProp
fujita tomonorifujita tomonori7654.29%538.46%
david s. millerdavid s. miller2618.57%215.38%
andreas larssonandreas larsson1410.00%17.69%
sam ravnborgsam ravnborg128.57%215.38%
keith m. wesolowskikeith m. wesolowski64.29%17.69%
christoph hellwigchristoph hellwig42.86%17.69%
al viroal viro21.43%17.69%
Total140100.00%13100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.