cregit-Linux how code gets into the kernel

Release 4.14 arch/mips/include/asm/dma-mapping.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_DMA_MAPPING_H

#define _ASM_DMA_MAPPING_H

#include <linux/scatterlist.h>
#include <asm/dma-coherence.h>
#include <asm/cache.h>

#ifndef CONFIG_SGI_IP27 /* Kludge to fix 2.6.39 build for IP27 */
#include <dma-coherence.h>
#endif

extern const struct dma_map_ops *mips_dma_map_ops;


static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus) { return mips_dma_map_ops; }

Contributors

PersonTokensPropCommitsCommitProp
David Daney844.44%125.00%
Ralf Bächle633.33%125.00%
Bart Van Assche422.22%250.00%
Total18100.00%4100.00%


static inline bool dma_capable(struct device *dev, dma_addr_t addr, size_t size) { if (!dev->dma_mask) return false; return addr + size <= *dev->dma_mask; }

Contributors

PersonTokensPropCommitsCommitProp
David Daney2052.63%125.00%
Ralf Bächle1128.95%125.00%
Atsushi Nemoto615.79%125.00%
Joe Perches12.63%125.00%
Total38100.00%4100.00%


static inline void dma_mark_clean(void *addr, size_t size) {}

Contributors

PersonTokensPropCommitsCommitProp
David Daney753.85%133.33%
Ralf Bächle538.46%133.33%
Andrew Morton17.69%133.33%
Total13100.00%3100.00%

extern void dma_cache_sync(struct device *dev, void *vaddr, size_t size, enum dma_data_direction direction); #define arch_setup_dma_ops arch_setup_dma_ops
static inline void arch_setup_dma_ops(struct device *dev, u64 dma_base, u64 size, const struct iommu_ops *iommu, bool coherent) { #ifdef CONFIG_DMA_PERDEV_COHERENT dev->archdata.dma_coherent = coherent; #endif }

Contributors

PersonTokensPropCommitsCommitProp
Paul Burton40100.00%1100.00%
Total40100.00%1100.00%

#endif /* _ASM_DMA_MAPPING_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Ralf Bächle5532.54%320.00%
Paul Burton4426.04%16.67%
David Daney4224.85%16.67%
Andrew Morton95.33%213.33%
Atsushi Nemoto63.55%16.67%
Bart Van Assche52.96%213.33%
Steven J. Hill31.78%16.67%
James Bottomley21.18%16.67%
Greg Kroah-Hartman10.59%16.67%
Joe Perches10.59%16.67%
Christoph Hellwig10.59%16.67%
Total169100.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.