|
Linux Kernel
3.7.1
|
#include <linux/kmemcheck.h>#include <linux/scatterlist.h>#include <linux/dma-debug.h>#include <linux/dma-attrs.h>#include <asm/io.h>#include <asm/swiotlb.h>#include <asm-generic/dma-coherent.h>#include <linux/dma-contiguous.h>#include <asm-generic/dma-mapping-common.h>Go to the source code of this file.
Macros | |
| #define | ISA_DMA_BIT_MASK DMA_BIT_MASK(32) |
| #define | DMA_ERROR_CODE 0 |
| #define | dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent(d, s, h, f) |
| #define | dma_free_noncoherent(d, s, v, h) dma_free_coherent(d, s, v, h) |
| #define | dma_alloc_coherent(d, s, h, f) dma_alloc_attrs(d,s,h,f,NULL) |
| #define | dma_free_coherent(d, s, c, h) dma_free_attrs(d,s,c,h,NULL) |
Functions | |
| int | dma_supported (struct device *hwdev, u64 mask) |
| int | dma_set_mask (struct device *dev, u64 mask) |
| void * | dma_generic_alloc_coherent (struct device *dev, size_t size, dma_addr_t *dma_addr, gfp_t flag, struct dma_attrs *attrs) |
| void | dma_generic_free_coherent (struct device *dev, size_t size, void *vaddr, dma_addr_t dma_addr, struct dma_attrs *attrs) |
Variables | |
| int | iommu_merge |
| struct device | x86_dma_fallback_dev |
| int | panic_on_overflow |
| struct dma_map_ops * | dma_ops |
Definition at line 127 of file dma-mapping.h.
Definition at line 56 of file dma-mapping.h.
| #define DMA_ERROR_CODE 0 |
Definition at line 24 of file dma-mapping.h.
Definition at line 157 of file dma-mapping.h.
Definition at line 57 of file dma-mapping.h.
| #define ISA_DMA_BIT_MASK DMA_BIT_MASK(32) |
Definition at line 21 of file dma-mapping.h.
| void* dma_generic_alloc_coherent | ( | struct device * | dev, |
| size_t | size, | ||
| dma_addr_t * | dma_addr, | ||
| gfp_t | flag, | ||
| struct dma_attrs * | attrs | ||
| ) |
Definition at line 35 of file consistent.c.
| void dma_generic_free_coherent | ( | struct device * | dev, |
| size_t | size, | ||
| void * | vaddr, | ||
| dma_addr_t | dma_addr, | ||
| struct dma_attrs * | attrs | ||
| ) |
Definition at line 67 of file consistent.c.
Definition at line 188 of file pci-noop.c.
| int iommu_merge |
| int panic_on_overflow |
1.8.2