Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Variables
dma-mapping.h File Reference
#include <linux/types.h>
#include <linux/cache.h>
#include <linux/mm.h>
#include <linux/scatterlist.h>
#include <linux/dma-debug.h>
#include <linux/dma-attrs.h>
#include <asm/io.h>
#include <asm-generic/dma-coherent.h>
#include <asm/cacheflush.h>
#include <asm-generic/dma-mapping-common.h>

Go to the source code of this file.

Macros

#define DMA_ERROR_CODE   (~(dma_addr_t)0x0)
 
#define __dma_alloc_coherent(dev, gfp, size, handle)   NULL
 
#define __dma_free_coherent(size, addr)   ((void)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)
 

Variables

struct dma_map_opsdma_ops
 
struct dma_map_ops dma_direct_ops
 

Macro Definition Documentation

#define __dma_alloc_coherent (   dev,
  gfp,
  size,
  handle 
)    NULL

Definition at line 35 of file dma-mapping.h.

#define __dma_free_coherent (   size,
  addr 
)    ((void)0)

Definition at line 36 of file dma-mapping.h.

#define dma_alloc_coherent (   d,
  s,
  h,
  f 
)    dma_alloc_attrs(d, s, h, f, NULL)

Definition at line 126 of file dma-mapping.h.

#define dma_alloc_noncoherent (   d,
  s,
  h,
  f 
)    dma_alloc_coherent(d, s, h, f)

Definition at line 123 of file dma-mapping.h.

#define DMA_ERROR_CODE   (~(dma_addr_t)0x0)

Definition at line 33 of file dma-mapping.h.

#define dma_free_coherent (   d,
  s,
  c,
  h 
)    dma_free_attrs(d, s, c, h, NULL)

Definition at line 143 of file dma-mapping.h.

#define dma_free_noncoherent (   d,
  s,
  v,
  h 
)    dma_free_coherent(d, s, v, h)

Definition at line 124 of file dma-mapping.h.

Variable Documentation

struct dma_map_ops dma_direct_ops

Definition at line 180 of file dma.c.

Definition at line 188 of file pci-noop.c.