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 CHCR_TS_LOW_MASK   0x18
 
#define CHCR_TS_LOW_SHIFT   3
 
#define CHCR_TS_HIGH_MASK   0
 
#define CHCR_TS_HIGH_SHIFT   0
 
#define DMAOR_INIT   DMAOR_DME
 
#define TS_SHIFT
 
#define TS_INDEX2VAL(i)   (((i) & 3) << CHCR_TS_LOW_SHIFT)
 

Enumerations

enum  { XMIT_SZ_8BIT, XMIT_SZ_16BIT, XMIT_SZ_32BIT, XMIT_SZ_128BIT }
 

Macro Definition Documentation

#define CHCR_TS_HIGH_MASK   0

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

#define CHCR_TS_HIGH_SHIFT   0

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

#define CHCR_TS_LOW_MASK   0x18

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

#define CHCR_TS_LOW_SHIFT   3

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

#define DMAOR_INIT   DMAOR_DME

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

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

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

#define TS_SHIFT
Value:
{ \
[XMIT_SZ_8BIT] = 0, \
[XMIT_SZ_16BIT] = 1, \
[XMIT_SZ_32BIT] = 2, \
[XMIT_SZ_128BIT] = 4, \
}

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

Enumeration Type Documentation

anonymous enum
Enumerator:
XMIT_SZ_8BIT 
XMIT_SZ_16BIT 
XMIT_SZ_32BIT 
XMIT_SZ_128BIT 

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