cregit-Linux how code gets into the kernel

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

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

PersonTokensPropCommitsCommitProp
FUJITA Tomonori3866.67%450.00%
Andreas Larsson1322.81%112.50%
Bart Van Assche47.02%225.00%
Christoph Hellwig23.51%112.50%
Total57100.00%8100.00%

#endif

Overall Contributors

PersonTokensPropCommitsCommitProp
FUJITA Tomonori5547.01%531.25%
David S. Miller2823.93%212.50%
Andreas Larsson1311.11%16.25%
Bart Van Assche65.13%212.50%
Sam Ravnborg65.13%212.50%
Keith M. Wesolowski43.42%16.25%
Christoph Hellwig21.71%16.25%
Al Viro21.71%16.25%
Greg Kroah-Hartman10.85%16.25%
Total117100.00%16100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.