/* * DMA Mapping glue for ARC * * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #ifndef ASM_ARC_DMA_MAPPING_H #define ASM_ARC_DMA_MAPPING_H #ifndef CONFIG_ARC_PLAT_NEEDS_PHYS_TO_DMA #define plat_dma_to_phys(dev, dma_handle) ((phys_addr_t)(dma_handle)) #define plat_phys_to_dma(dev, paddr) ((dma_addr_t)(paddr)) #else #include <plat/dma.h> #endif extern struct dma_map_ops arc_dma_ops;
static inline struct dma_map_ops *get_dma_ops(struct device *dev) { return &arc_dma_ops; }Contributors
Person | Tokens | Prop | Commits | CommitProp | |
vineet gupta | vineet gupta | 14 | 77.78% | 1 | 50.00% |
christoph hellwig | christoph hellwig | 4 | 22.22% | 1 | 50.00% |
Total | 18 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
vineet gupta | vineet gupta | 54 | 90.00% | 2 | 66.67% |
christoph hellwig | christoph hellwig | 6 | 10.00% | 1 | 33.33% |
Total | 60 | 100.00% | 3 | 100.00% |