Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
dma-attrs.h File Reference
#include <linux/bitmap.h>
#include <linux/bitops.h>
#include <linux/bug.h>

Go to the source code of this file.

Data Structures

struct  dma_attrs
 

Macros

#define __DMA_ATTRS_LONGS   BITS_TO_LONGS(DMA_ATTR_MAX)
 
#define DEFINE_DMA_ATTRS(x)
 

Enumerations

enum  dma_attr {
  DMA_ATTR_WRITE_BARRIER, DMA_ATTR_WEAK_ORDERING, DMA_ATTR_WRITE_COMBINE, DMA_ATTR_NON_CONSISTENT,
  DMA_ATTR_NO_KERNEL_MAPPING, DMA_ATTR_SKIP_CPU_SYNC, DMA_ATTR_MAX
}
 

Macro Definition Documentation

#define __DMA_ATTRS_LONGS   BITS_TO_LONGS(DMA_ATTR_MAX)

Definition at line 23 of file dma-attrs.h.

#define DEFINE_DMA_ATTRS (   x)
Value:
struct dma_attrs x = { \
.flags = { [0 ... __DMA_ATTRS_LONGS-1] = 0 }, \
}

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

Enumeration Type Documentation

enum dma_attr

an enum dma_attr represents an attribute associated with a DMA mapping. The semantics of each attribute should be defined in Documentation/DMA-attributes.txt.

Enumerator:
DMA_ATTR_WRITE_BARRIER 
DMA_ATTR_WEAK_ORDERING 
DMA_ATTR_WRITE_COMBINE 
DMA_ATTR_NON_CONSISTENT 
DMA_ATTR_NO_KERNEL_MAPPING 
DMA_ATTR_SKIP_CPU_SYNC 
DMA_ATTR_MAX 

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