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

Go to the source code of this file.

Macros

#define MCFDMA_SAR   0x00 /* DMA source address (r/w) */
 
#define MCFDMA_DAR   0x01 /* DMA destination adr (r/w) */
 
#define MCFDMA_DCR   0x04 /* DMA control reg (r/w) */
 
#define MCFDMA_BCR   0x06 /* DMA byte count reg (r/w) */
 
#define MCFDMA_DSR   0x10 /* DMA status reg (r/w) */
 
#define MCFDMA_DIVR   0x14 /* DMA interrupt vec (r/w) */
 
#define MCFDMA_DCR_INT   0x8000 /* Enable completion irq */
 
#define MCFDMA_DCR_EEXT   0x4000 /* Enable external DMA req */
 
#define MCFDMA_DCR_CS   0x2000 /* Enable cycle steal */
 
#define MCFDMA_DCR_AA   0x1000 /* Enable auto alignment */
 
#define MCFDMA_DCR_BWC_MASK   0x0E00 /* Bandwidth ctl mask */
 
#define MCFDMA_DCR_BWC_512   0x0200 /* Bandwidth: 512 Bytes */
 
#define MCFDMA_DCR_BWC_1024   0x0400 /* Bandwidth: 1024 Bytes */
 
#define MCFDMA_DCR_BWC_2048   0x0600 /* Bandwidth: 2048 Bytes */
 
#define MCFDMA_DCR_BWC_4096   0x0800 /* Bandwidth: 4096 Bytes */
 
#define MCFDMA_DCR_BWC_8192   0x0a00 /* Bandwidth: 8192 Bytes */
 
#define MCFDMA_DCR_BWC_16384   0x0c00 /* Bandwidth: 16384 Bytes */
 
#define MCFDMA_DCR_BWC_32768   0x0e00 /* Bandwidth: 32768 Bytes */
 
#define MCFDMA_DCR_SAA   0x0100 /* Single Address Access */
 
#define MCFDMA_DCR_S_RW   0x0080 /* SAA read/write value */
 
#define MCFDMA_DCR_SINC   0x0040 /* Source addr inc enable */
 
#define MCFDMA_DCR_SSIZE_MASK   0x0030 /* Src xfer size */
 
#define MCFDMA_DCR_SSIZE_LONG   0x0000 /* Src xfer size, 00 = longw */
 
#define MCFDMA_DCR_SSIZE_BYTE   0x0010 /* Src xfer size, 01 = byte */
 
#define MCFDMA_DCR_SSIZE_WORD   0x0020 /* Src xfer size, 10 = word */
 
#define MCFDMA_DCR_SSIZE_LINE   0x0030 /* Src xfer size, 11 = line */
 
#define MCFDMA_DCR_DINC   0x0008 /* Dest addr inc enable */
 
#define MCFDMA_DCR_DSIZE_MASK   0x0006 /* Dest xfer size */
 
#define MCFDMA_DCR_DSIZE_LONG   0x0000 /* Dest xfer size, 00 = long */
 
#define MCFDMA_DCR_DSIZE_BYTE   0x0002 /* Dest xfer size, 01 = byte */
 
#define MCFDMA_DCR_DSIZE_WORD   0x0004 /* Dest xfer size, 10 = word */
 
#define MCFDMA_DCR_DSIZE_LINE   0x0006 /* Dest xfer size, 11 = line */
 
#define MCFDMA_DCR_START   0x0001 /* Start transfer */
 
#define MCFDMA_DSR_CE   0x40 /* Config error */
 
#define MCFDMA_DSR_BES   0x20 /* Bus Error on source */
 
#define MCFDMA_DSR_BED   0x10 /* Bus Error on dest */
 
#define MCFDMA_DSR_REQ   0x04 /* Requests remaining */
 
#define MCFDMA_DSR_BSY   0x02 /* Busy */
 
#define MCFDMA_DSR_DONE   0x01 /* DMA transfer complete */
 

Macro Definition Documentation

#define MCFDMA_BCR   0x06 /* DMA byte count reg (r/w) */

Definition at line 24 of file mcfdma.h.

#define MCFDMA_DAR   0x01 /* DMA destination adr (r/w) */

Definition at line 21 of file mcfdma.h.

#define MCFDMA_DCR   0x04 /* DMA control reg (r/w) */

Definition at line 23 of file mcfdma.h.

#define MCFDMA_DCR_AA   0x1000 /* Enable auto alignment */

Definition at line 35 of file mcfdma.h.

#define MCFDMA_DCR_BWC_1024   0x0400 /* Bandwidth: 1024 Bytes */

Definition at line 38 of file mcfdma.h.

#define MCFDMA_DCR_BWC_16384   0x0c00 /* Bandwidth: 16384 Bytes */

Definition at line 42 of file mcfdma.h.

#define MCFDMA_DCR_BWC_2048   0x0600 /* Bandwidth: 2048 Bytes */

Definition at line 39 of file mcfdma.h.

#define MCFDMA_DCR_BWC_32768   0x0e00 /* Bandwidth: 32768 Bytes */

Definition at line 43 of file mcfdma.h.

#define MCFDMA_DCR_BWC_4096   0x0800 /* Bandwidth: 4096 Bytes */

Definition at line 40 of file mcfdma.h.

#define MCFDMA_DCR_BWC_512   0x0200 /* Bandwidth: 512 Bytes */

Definition at line 37 of file mcfdma.h.

#define MCFDMA_DCR_BWC_8192   0x0a00 /* Bandwidth: 8192 Bytes */

Definition at line 41 of file mcfdma.h.

#define MCFDMA_DCR_BWC_MASK   0x0E00 /* Bandwidth ctl mask */

Definition at line 36 of file mcfdma.h.

#define MCFDMA_DCR_CS   0x2000 /* Enable cycle steal */

Definition at line 34 of file mcfdma.h.

#define MCFDMA_DCR_DINC   0x0008 /* Dest addr inc enable */

Definition at line 52 of file mcfdma.h.

#define MCFDMA_DCR_DSIZE_BYTE   0x0002 /* Dest xfer size, 01 = byte */

Definition at line 55 of file mcfdma.h.

#define MCFDMA_DCR_DSIZE_LINE   0x0006 /* Dest xfer size, 11 = line */

Definition at line 57 of file mcfdma.h.

#define MCFDMA_DCR_DSIZE_LONG   0x0000 /* Dest xfer size, 00 = long */

Definition at line 54 of file mcfdma.h.

#define MCFDMA_DCR_DSIZE_MASK   0x0006 /* Dest xfer size */

Definition at line 53 of file mcfdma.h.

#define MCFDMA_DCR_DSIZE_WORD   0x0004 /* Dest xfer size, 10 = word */

Definition at line 56 of file mcfdma.h.

#define MCFDMA_DCR_EEXT   0x4000 /* Enable external DMA req */

Definition at line 33 of file mcfdma.h.

#define MCFDMA_DCR_INT   0x8000 /* Enable completion irq */

Definition at line 32 of file mcfdma.h.

#define MCFDMA_DCR_S_RW   0x0080 /* SAA read/write value */

Definition at line 45 of file mcfdma.h.

#define MCFDMA_DCR_SAA   0x0100 /* Single Address Access */

Definition at line 44 of file mcfdma.h.

#define MCFDMA_DCR_SINC   0x0040 /* Source addr inc enable */

Definition at line 46 of file mcfdma.h.

#define MCFDMA_DCR_SSIZE_BYTE   0x0010 /* Src xfer size, 01 = byte */

Definition at line 49 of file mcfdma.h.

#define MCFDMA_DCR_SSIZE_LINE   0x0030 /* Src xfer size, 11 = line */

Definition at line 51 of file mcfdma.h.

#define MCFDMA_DCR_SSIZE_LONG   0x0000 /* Src xfer size, 00 = longw */

Definition at line 48 of file mcfdma.h.

#define MCFDMA_DCR_SSIZE_MASK   0x0030 /* Src xfer size */

Definition at line 47 of file mcfdma.h.

#define MCFDMA_DCR_SSIZE_WORD   0x0020 /* Src xfer size, 10 = word */

Definition at line 50 of file mcfdma.h.

#define MCFDMA_DCR_START   0x0001 /* Start transfer */

Definition at line 58 of file mcfdma.h.

#define MCFDMA_DIVR   0x14 /* DMA interrupt vec (r/w) */

Definition at line 27 of file mcfdma.h.

#define MCFDMA_DSR   0x10 /* DMA status reg (r/w) */

Definition at line 26 of file mcfdma.h.

#define MCFDMA_DSR_BED   0x10 /* Bus Error on dest */

Definition at line 65 of file mcfdma.h.

#define MCFDMA_DSR_BES   0x20 /* Bus Error on source */

Definition at line 64 of file mcfdma.h.

#define MCFDMA_DSR_BSY   0x02 /* Busy */

Definition at line 67 of file mcfdma.h.

#define MCFDMA_DSR_CE   0x40 /* Config error */

Definition at line 63 of file mcfdma.h.

#define MCFDMA_DSR_DONE   0x01 /* DMA transfer complete */

Definition at line 68 of file mcfdma.h.

#define MCFDMA_DSR_REQ   0x04 /* Requests remaining */

Definition at line 66 of file mcfdma.h.

#define MCFDMA_SAR   0x00 /* DMA source address (r/w) */

Definition at line 20 of file mcfdma.h.