Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
dma-mapping.h File Reference
#include <linux/scatterlist.h>
#include <linux/mm.h>
#include <linux/dma-debug.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_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)
 

Variables

struct dma_map_opsdma_ops
 
struct dma_map_opsleon_dma_ops
 
struct dma_map_ops pci32_dma_ops
 
struct bus_type pci_bus_type
 

Macro Definition Documentation

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

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

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

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

#define DMA_ERROR_CODE   (~(dma_addr_t)0x0)

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

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

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

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

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

Function Documentation

int dma_supported ( struct device dev,
u64  mask 
)

Definition at line 966 of file dma-mapping.c.

Variable Documentation

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

struct dma_map_ops* leon_dma_ops

Definition at line 654 of file ioport.c.

struct dma_map_ops pci32_dma_ops

Definition at line 639 of file ioport.c.

struct bus_type pci_bus_type

Definition at line 1233 of file pci-driver.c.