cregit-Linux how code gets into the kernel

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

#ifndef _ASM_S390_DMA_MAPPING_H

#define _ASM_S390_DMA_MAPPING_H

#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/mm.h>
#include <linux/scatterlist.h>
#include <linux/dma-debug.h>
#include <linux/io.h>


#define DMA_ERROR_CODE		(~(dma_addr_t) 0x0)

extern struct dma_map_ops s390_pci_dma_ops;


static inline struct dma_map_ops *get_dma_ops(struct device *dev) { if (dev && dev->archdata.dma_ops) return dev->archdata.dma_ops; return &dma_noop_ops; }

Contributors

PersonTokensPropCommitsCommitProp
christian borntraegerchristian borntraeger1851.43%150.00%
jan glauberjan glauber1748.57%150.00%
Total35100.00%2100.00%


static inline void dma_cache_sync(struct device *dev, void *vaddr, size_t size, enum dma_data_direction direction) { }

Contributors

PersonTokensPropCommitsCommitProp
jan glauberjan glauber1986.36%150.00%
heiko carstensheiko carstens313.64%150.00%
Total22100.00%2100.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 - 1 <= *dev->dma_mask; }

Contributors

PersonTokensPropCommitsCommitProp
jan glauberjan glauber3997.50%150.00%
joe perchesjoe perches12.50%150.00%
Total40100.00%2100.00%

#endif /* _ASM_S390_DMA_MAPPING_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
jan glauberjan glauber11082.71%125.00%
christian borntraegerchristian borntraeger1914.29%125.00%
heiko carstensheiko carstens32.26%125.00%
joe perchesjoe perches10.75%125.00%
Total133100.00%4100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.