Linux Kernel
3.7.1
|
#include <linux/types.h>
#include <linux/mm.h>
#include <linux/string.h>
#include <linux/pci.h>
#include <linux/gfp.h>
#include <linux/export.h>
#include <asm/io.h>
Go to the source code of this file.
Functions | |
void * | dma_alloc_coherent (struct device *dev, size_t size, dma_addr_t *dma_handle, int gfp) |
EXPORT_SYMBOL (dma_alloc_coherent) | |
void | dma_free_coherent (struct device *dev, size_t size, void *vaddr, dma_addr_t dma_handle) |
EXPORT_SYMBOL (dma_free_coherent) | |
Definition at line 23 of file dma-alloc.c.
dma_free_coherent - free memory allocated by dma_alloc_coherent : valid struct device pointer, or NULL for ISA and EISA-like devices : size of memory originally requested in dma_alloc_coherent : CPU-view address returned from dma_alloc_coherent : device-view address returned from dma_alloc_coherent
Free (and unmap) a DMA buffer previously allocated by dma_alloc_coherent().
References to memory and mappings associated with cpu_addr/handle during and after this call executing are illegal.
Definition at line 66 of file dma-alloc.c.
EXPORT_SYMBOL | ( | dma_alloc_coherent | ) |
EXPORT_SYMBOL | ( | dma_free_coherent | ) |