|
Linux Kernel
3.7.1
|
#include <linux/types.h>#include <linux/cache.h>#include <linux/mm.h>#include <linux/scatterlist.h>#include <linux/dma-mapping.h>#include <linux/dma-debug.h>#include <linux/dma-attrs.h>#include <asm/io.h>#include <asm-generic/dma-mapping-common.h>Go to the source code of this file.
Macros | |
| #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 *dev, u64 mask) |
| int | dma_set_mask (struct device *dev, u64 mask) |
| int | dma_is_consistent (struct device *dev, dma_addr_t dma_handle) |
| void | dma_cache_sync (struct device *dev, void *vaddr, size_t size, enum dma_data_direction direction) |
Variables | |
| int | bad_dma_address |
| struct dma_map_ops * | dma_ops |
Definition at line 74 of file dma-mapping.h.
Definition at line 38 of file dma-mapping.h.
Definition at line 92 of file dma-mapping.h.
Definition at line 39 of file dma-mapping.h.
| void dma_cache_sync | ( | struct device * | dev, |
| void * | vaddr, | ||
| size_t | size, | ||
| enum dma_data_direction | direction | ||
| ) |
Definition at line 313 of file dma-default.c.
| int dma_is_consistent | ( | struct device * | dev, |
| dma_addr_t | dma_handle | ||
| ) |
Definition at line 188 of file pci-noop.c.
1.8.2