cregit-Linux how code gets into the kernel

Release 4.10 arch/nios2/include/asm/dma-mapping.h

/*
 * Copyright (C) 2011 Tobias Klauser <tklauser@distanz.ch>
 * Copyright (C) 2009 Wind River Systems Inc
 *
 * This file is subject to the terms and conditions of the GNU General
 * Public License.  See the file COPYING in the main directory of this
 * archive for more details.
 */

#ifndef _ASM_NIOS2_DMA_MAPPING_H

#define _ASM_NIOS2_DMA_MAPPING_H

extern struct dma_map_ops nios2_dma_ops;


static inline struct dma_map_ops *get_dma_ops(struct device *dev) { return &nios2_dma_ops; }

Contributors

PersonTokensPropCommitsCommitProp
ley foon tanley foon tan1477.78%150.00%
christoph hellwigchristoph hellwig422.22%150.00%
Total18100.00%2100.00%

/* * dma_alloc_noncoherent() returns non-cacheable memory, so there's no need to * do any flushing here. */
static inline void dma_cache_sync(struct device *dev, void *vaddr, size_t size, enum dma_data_direction direction) { }

Contributors

PersonTokensPropCommitsCommitProp
ley foon tanley foon tan22100.00%1100.00%
Total22100.00%1100.00%

#endif /* _ASM_NIOS2_DMA_MAPPING_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
ley foon tanley foon tan4885.71%150.00%
christoph hellwigchristoph hellwig814.29%150.00%
Total56100.00%2100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.