Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations
dma-register.h File Reference

Go to the source code of this file.

Macros

#define DMAOR_INIT   (0x8000 | DMAOR_DME)
 
#define CHCR_TS_LOW_MASK   0x70
 
#define CHCR_TS_LOW_SHIFT   4
 
#define CHCR_TS_HIGH_MASK   0
 
#define CHCR_TS_HIGH_SHIFT   0
 
#define TS_SHIFT
 
#define TS_INDEX2VAL(i)   (((i) & 7) << CHCR_TS_LOW_SHIFT)
 

Enumerations

enum  {
  XMIT_SZ_8BIT = 1, XMIT_SZ_16BIT = 2, XMIT_SZ_32BIT = 3, XMIT_SZ_64BIT = 0,
  XMIT_SZ_256BIT = 4
}
 

Macro Definition Documentation

#define CHCR_TS_HIGH_MASK   0

Definition at line 77 of file dma-register.h.

#define CHCR_TS_HIGH_SHIFT   0

Definition at line 78 of file dma-register.h.

#define CHCR_TS_LOW_MASK   0x70

Definition at line 75 of file dma-register.h.

#define CHCR_TS_LOW_SHIFT   4

Definition at line 76 of file dma-register.h.

#define DMAOR_INIT   (0x8000 | DMAOR_DME)

Definition at line 73 of file dma-register.h.

#define TS_INDEX2VAL (   i)    (((i) & 7) << CHCR_TS_LOW_SHIFT)

Definition at line 98 of file dma-register.h.

#define TS_SHIFT
Value:
{ \
[XMIT_SZ_8BIT] = 0, \
[XMIT_SZ_16BIT] = 1, \
[XMIT_SZ_32BIT] = 2, \
[XMIT_SZ_64BIT] = 3, \
[XMIT_SZ_256BIT] = 5, \
}

Definition at line 90 of file dma-register.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
XMIT_SZ_8BIT 
XMIT_SZ_16BIT 
XMIT_SZ_32BIT 
XMIT_SZ_64BIT 
XMIT_SZ_256BIT 

Definition at line 81 of file dma-register.h.