Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
txx9dmac.h File Reference
#include <linux/dmaengine.h>
#include <asm/txx9/dmac.h>

Go to the source code of this file.

Data Structures

struct  txx9dmac_cregs
 
struct  txx9dmac_cregs32
 
struct  txx9dmac_regs
 
struct  txx9dmac_regs32
 
struct  txx9dmac_chan
 
struct  txx9dmac_dev
 
struct  txx9dmac_desc
 

Macros

#define CCR_LE   0
 
#define MCR_LE   0
 
#define TXX9_DMA_REG32(name)   u32 name; u32 __pad_##name
 
#define TXX9_DMA_MCR_EIS(ch)   (0x10000000<<(ch))
 
#define TXX9_DMA_MCR_DIS(ch)   (0x01000000<<(ch))
 
#define TXX9_DMA_MCR_RSFIF   0x00000080
 
#define TXX9_DMA_MCR_FIFUM(ch)   (0x00000008<<(ch))
 
#define TXX9_DMA_MCR_LE   0x00000004
 
#define TXX9_DMA_MCR_RPRT   0x00000002
 
#define TXX9_DMA_MCR_MSTEN   0x00000001
 
#define TXX9_DMA_CCR_IMMCHN   0x20000000
 
#define TXX9_DMA_CCR_USEXFSZ   0x10000000
 
#define TXX9_DMA_CCR_LE   0x08000000
 
#define TXX9_DMA_CCR_DBINH   0x04000000
 
#define TXX9_DMA_CCR_SBINH   0x02000000
 
#define TXX9_DMA_CCR_CHRST   0x01000000
 
#define TXX9_DMA_CCR_RVBYTE   0x00800000
 
#define TXX9_DMA_CCR_ACKPOL   0x00400000
 
#define TXX9_DMA_CCR_REQPL   0x00200000
 
#define TXX9_DMA_CCR_EGREQ   0x00100000
 
#define TXX9_DMA_CCR_CHDN   0x00080000
 
#define TXX9_DMA_CCR_DNCTL   0x00060000
 
#define TXX9_DMA_CCR_EXTRQ   0x00010000
 
#define TXX9_DMA_CCR_INTRQD   0x0000e000
 
#define TXX9_DMA_CCR_INTENE   0x00001000
 
#define TXX9_DMA_CCR_INTENC   0x00000800
 
#define TXX9_DMA_CCR_INTENT   0x00000400
 
#define TXX9_DMA_CCR_CHNEN   0x00000200
 
#define TXX9_DMA_CCR_XFACT   0x00000100
 
#define TXX9_DMA_CCR_SMPCHN   0x00000020
 
#define TXX9_DMA_CCR_XFSZ(order)   (((order) << 2) & 0x0000001c)
 
#define TXX9_DMA_CCR_XFSZ_1   TXX9_DMA_CCR_XFSZ(0)
 
#define TXX9_DMA_CCR_XFSZ_2   TXX9_DMA_CCR_XFSZ(1)
 
#define TXX9_DMA_CCR_XFSZ_4   TXX9_DMA_CCR_XFSZ(2)
 
#define TXX9_DMA_CCR_XFSZ_8   TXX9_DMA_CCR_XFSZ(3)
 
#define TXX9_DMA_CCR_XFSZ_X4   TXX9_DMA_CCR_XFSZ(4)
 
#define TXX9_DMA_CCR_XFSZ_X8   TXX9_DMA_CCR_XFSZ(5)
 
#define TXX9_DMA_CCR_XFSZ_X16   TXX9_DMA_CCR_XFSZ(6)
 
#define TXX9_DMA_CCR_XFSZ_X32   TXX9_DMA_CCR_XFSZ(7)
 
#define TXX9_DMA_CCR_MEMIO   0x00000002
 
#define TXX9_DMA_CCR_SNGAD   0x00000001
 
#define TXX9_DMA_CSR_CHNEN   0x00000400
 
#define TXX9_DMA_CSR_STLXFER   0x00000200
 
#define TXX9_DMA_CSR_XFACT   0x00000100
 
#define TXX9_DMA_CSR_ABCHC   0x00000080
 
#define TXX9_DMA_CSR_NCHNC   0x00000040
 
#define TXX9_DMA_CSR_NTRNFC   0x00000020
 
#define TXX9_DMA_CSR_EXTDN   0x00000010
 
#define TXX9_DMA_CSR_CFERR   0x00000008
 
#define TXX9_DMA_CSR_CHERR   0x00000004
 
#define TXX9_DMA_CSR_DESERR   0x00000002
 
#define TXX9_DMA_CSR_SORERR   0x00000001
 
#define txx9dmac_hwdesc   txx9dmac_cregs
 
#define txx9dmac_hwdesc32   txx9dmac_cregs32
 

Macro Definition Documentation

#define CCR_LE   0

Definition at line 54 of file txx9dmac.h.

#define MCR_LE   0

Definition at line 55 of file txx9dmac.h.

#define TXX9_DMA_CCR_ACKPOL   0x00400000

Definition at line 125 of file txx9dmac.h.

#define TXX9_DMA_CCR_CHDN   0x00080000

Definition at line 128 of file txx9dmac.h.

#define TXX9_DMA_CCR_CHNEN   0x00000200

Definition at line 135 of file txx9dmac.h.

#define TXX9_DMA_CCR_CHRST   0x01000000

Definition at line 123 of file txx9dmac.h.

#define TXX9_DMA_CCR_DBINH   0x04000000

Definition at line 121 of file txx9dmac.h.

#define TXX9_DMA_CCR_DNCTL   0x00060000

Definition at line 129 of file txx9dmac.h.

#define TXX9_DMA_CCR_EGREQ   0x00100000

Definition at line 127 of file txx9dmac.h.

#define TXX9_DMA_CCR_EXTRQ   0x00010000

Definition at line 130 of file txx9dmac.h.

#define TXX9_DMA_CCR_IMMCHN   0x20000000

Definition at line 118 of file txx9dmac.h.

#define TXX9_DMA_CCR_INTENC   0x00000800

Definition at line 133 of file txx9dmac.h.

#define TXX9_DMA_CCR_INTENE   0x00001000

Definition at line 132 of file txx9dmac.h.

#define TXX9_DMA_CCR_INTENT   0x00000400

Definition at line 134 of file txx9dmac.h.

#define TXX9_DMA_CCR_INTRQD   0x0000e000

Definition at line 131 of file txx9dmac.h.

#define TXX9_DMA_CCR_LE   0x08000000

Definition at line 120 of file txx9dmac.h.

#define TXX9_DMA_CCR_MEMIO   0x00000002

Definition at line 147 of file txx9dmac.h.

#define TXX9_DMA_CCR_REQPL   0x00200000

Definition at line 126 of file txx9dmac.h.

#define TXX9_DMA_CCR_RVBYTE   0x00800000

Definition at line 124 of file txx9dmac.h.

#define TXX9_DMA_CCR_SBINH   0x02000000

Definition at line 122 of file txx9dmac.h.

#define TXX9_DMA_CCR_SMPCHN   0x00000020

Definition at line 137 of file txx9dmac.h.

#define TXX9_DMA_CCR_SNGAD   0x00000001

Definition at line 148 of file txx9dmac.h.

#define TXX9_DMA_CCR_USEXFSZ   0x10000000

Definition at line 119 of file txx9dmac.h.

#define TXX9_DMA_CCR_XFACT   0x00000100

Definition at line 136 of file txx9dmac.h.

#define TXX9_DMA_CCR_XFSZ (   order)    (((order) << 2) & 0x0000001c)

Definition at line 138 of file txx9dmac.h.

#define TXX9_DMA_CCR_XFSZ_1   TXX9_DMA_CCR_XFSZ(0)

Definition at line 139 of file txx9dmac.h.

#define TXX9_DMA_CCR_XFSZ_2   TXX9_DMA_CCR_XFSZ(1)

Definition at line 140 of file txx9dmac.h.

#define TXX9_DMA_CCR_XFSZ_4   TXX9_DMA_CCR_XFSZ(2)

Definition at line 141 of file txx9dmac.h.

#define TXX9_DMA_CCR_XFSZ_8   TXX9_DMA_CCR_XFSZ(3)

Definition at line 142 of file txx9dmac.h.

#define TXX9_DMA_CCR_XFSZ_X16   TXX9_DMA_CCR_XFSZ(6)

Definition at line 145 of file txx9dmac.h.

#define TXX9_DMA_CCR_XFSZ_X32   TXX9_DMA_CCR_XFSZ(7)

Definition at line 146 of file txx9dmac.h.

#define TXX9_DMA_CCR_XFSZ_X4   TXX9_DMA_CCR_XFSZ(4)

Definition at line 143 of file txx9dmac.h.

#define TXX9_DMA_CCR_XFSZ_X8   TXX9_DMA_CCR_XFSZ(5)

Definition at line 144 of file txx9dmac.h.

#define TXX9_DMA_CSR_ABCHC   0x00000080

Definition at line 154 of file txx9dmac.h.

#define TXX9_DMA_CSR_CFERR   0x00000008

Definition at line 158 of file txx9dmac.h.

#define TXX9_DMA_CSR_CHERR   0x00000004

Definition at line 159 of file txx9dmac.h.

#define TXX9_DMA_CSR_CHNEN   0x00000400

Definition at line 151 of file txx9dmac.h.

#define TXX9_DMA_CSR_DESERR   0x00000002

Definition at line 160 of file txx9dmac.h.

#define TXX9_DMA_CSR_EXTDN   0x00000010

Definition at line 157 of file txx9dmac.h.

#define TXX9_DMA_CSR_NCHNC   0x00000040

Definition at line 155 of file txx9dmac.h.

#define TXX9_DMA_CSR_NTRNFC   0x00000020

Definition at line 156 of file txx9dmac.h.

#define TXX9_DMA_CSR_SORERR   0x00000001

Definition at line 161 of file txx9dmac.h.

#define TXX9_DMA_CSR_STLXFER   0x00000200

Definition at line 152 of file txx9dmac.h.

#define TXX9_DMA_CSR_XFACT   0x00000100

Definition at line 153 of file txx9dmac.h.

#define TXX9_DMA_MCR_DIS (   ch)    (0x01000000<<(ch))

Definition at line 110 of file txx9dmac.h.

#define TXX9_DMA_MCR_EIS (   ch)    (0x10000000<<(ch))

Definition at line 109 of file txx9dmac.h.

#define TXX9_DMA_MCR_FIFUM (   ch)    (0x00000008<<(ch))

Definition at line 112 of file txx9dmac.h.

#define TXX9_DMA_MCR_LE   0x00000004

Definition at line 113 of file txx9dmac.h.

#define TXX9_DMA_MCR_MSTEN   0x00000001

Definition at line 115 of file txx9dmac.h.

#define TXX9_DMA_MCR_RPRT   0x00000002

Definition at line 114 of file txx9dmac.h.

#define TXX9_DMA_MCR_RSFIF   0x00000080

Definition at line 111 of file txx9dmac.h.

#define TXX9_DMA_REG32 (   name)    u32 name; u32 __pad_##name

Definition at line 65 of file txx9dmac.h.

#define txx9dmac_hwdesc   txx9dmac_cregs

Definition at line 220 of file txx9dmac.h.

#define txx9dmac_hwdesc32   txx9dmac_cregs32

Definition at line 221 of file txx9dmac.h.