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 <asm/machvec.h>
#include <linux/scatterlist.h>
#include <asm/swiotlb.h>
#include <linux/dma-debug.h>
#include <asm-generic/dma-mapping-common.h>

Go to the source code of this file.

Macros

#define ARCH_HAS_DMA_GET_REQUIRED_MASK
 
#define DMA_ERROR_CODE   0
 
#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)
 
#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 get_dma_ops(dev)   platform_dma_get_ops(dev)
 

Functions

void set_iommu_machvec (void)
 
void machvec_dma_sync_single (struct device *, dma_addr_t, size_t, enum dma_data_direction)
 
void machvec_dma_sync_sg (struct device *, struct scatterlist *, int, enum dma_data_direction)
 

Variables

struct dma_map_opsdma_ops
 
struct ia64_machine_vector ia64_mv
 

Macro Definition Documentation

#define ARCH_HAS_DMA_GET_REQUIRED_MASK

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

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

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

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

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

#define DMA_ERROR_CODE   0

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

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

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

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

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

#define get_dma_ops (   dev)    platform_dma_get_ops(dev)

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

Function Documentation

void machvec_dma_sync_sg ( struct device ,
struct scatterlist ,
int  ,
enum  dma_data_direction 
)

Definition at line 85 of file machvec.c.

void machvec_dma_sync_single ( struct device ,
dma_addr_t  ,
size_t  ,
enum  dma_data_direction 
)

Definition at line 77 of file machvec.c.

void set_iommu_machvec ( void  )

Variable Documentation

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

struct ia64_machine_vector ia64_mv