Release 4.18 include/asm-generic/dma-mapping.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_GENERIC_DMA_MAPPING_H
#define _ASM_GENERIC_DMA_MAPPING_H
static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
{
/*
* Use the non-coherent ops if available. If an architecture wants a
* more fine-grained selection of operations it will have to implement
* get_arch_dma_ops itself or use the per-device dma_ops.
*/
#ifdef CONFIG_DMA_NONCOHERENT_OPS
return &dma_noncoherent_ops;
#else
return &dma_direct_ops;
#endif
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Sudip Mukherjee | 14 | 45.16% | 1 | 20.00% |
Christoph Hellwig | 13 | 41.94% | 2 | 40.00% |
Bart Van Assche | 4 | 12.90% | 2 | 40.00% |
Total | 31 | 100.00% | 5 | 100.00% |
#endif /* _ASM_GENERIC_DMA_MAPPING_H */
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Sudip Mukherjee | 20 | 48.78% | 1 | 14.29% |
Christoph Hellwig | 16 | 39.02% | 3 | 42.86% |
Bart Van Assche | 4 | 9.76% | 2 | 28.57% |
Greg Kroah-Hartman | 1 | 2.44% | 1 | 14.29% |
Total | 41 | 100.00% | 7 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.