Linux Kernel
3.7.1
|
#include <linux/types.h>
#include <linux/dma-mapping.h>
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/scatterlist.h>
#include <linux/string.h>
#include <linux/gfp.h>
#include <linux/highmem.h>
#include <asm/cache.h>
#include <asm/io.h>
#include <dma-coherence.h>
Go to the source code of this file.
Macros | |
#define | PREALLOC_DMA_DEBUG_ENTRIES (1 << 16) |
Functions | |
void * | dma_alloc_noncoherent (struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t gfp) |
EXPORT_SYMBOL (dma_alloc_noncoherent) | |
void | dma_free_noncoherent (struct device *dev, size_t size, void *vaddr, dma_addr_t dma_handle) |
EXPORT_SYMBOL (dma_free_noncoherent) | |
int | mips_dma_mapping_error (struct device *dev, dma_addr_t dma_addr) |
int | mips_dma_supported (struct device *dev, u64 mask) |
void | dma_cache_sync (struct device *dev, void *vaddr, size_t size, enum dma_data_direction direction) |
EXPORT_SYMBOL (dma_cache_sync) | |
EXPORT_SYMBOL (mips_dma_map_ops) | |
fs_initcall (mips_dma_init) | |
Variables | |
struct dma_map_ops * | mips_dma_map_ops = &mips_default_dma_map_ops |
#define PREALLOC_DMA_DEBUG_ENTRIES (1 << 16) |
Definition at line 343 of file dma-default.c.
void* dma_alloc_noncoherent | ( | struct device * | dev, |
size_t | size, | ||
dma_addr_t * | dma_handle, | ||
gfp_t | gfp | ||
) |
Definition at line 82 of file dma-default.c.
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.
Definition at line 126 of file dma-default.c.
EXPORT_SYMBOL | ( | dma_alloc_noncoherent | ) |
EXPORT_SYMBOL | ( | dma_free_noncoherent | ) |
EXPORT_SYMBOL | ( | dma_cache_sync | ) |
EXPORT_SYMBOL | ( | mips_dma_map_ops | ) |
fs_initcall | ( | mips_dma_init | ) |
int mips_dma_mapping_error | ( | struct device * | dev, |
dma_addr_t | dma_addr | ||
) |
Definition at line 303 of file dma-default.c.
Definition at line 308 of file dma-default.c.
struct dma_map_ops* mips_dma_map_ops = &mips_default_dma_map_ops |
Definition at line 340 of file dma-default.c.