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

Go to the source code of this file.

Data Structures

struct  dma_cdb
 
struct  dma_regs
 
struct  i2o_regs
 

Macros

#define MAX_STAT_DMA_CDBS   16
 
#define DMA_ENGINES_NUM   2
 
#define DMA_DEST_MAX_NUM   2
 
#define DMA0_FIFO_SIZE   0x1000
 
#define DMA1_FIFO_SIZE   0x1000
 
#define DMA_FIFO_ENABLE   (1<<12)
 
#define DMA_CFG_DXEPR_LP   (0<<26)
 
#define DMA_CFG_DXEPR_HP   (3<<26)
 
#define DMA_CFG_DXEPR_HHP   (2<<26)
 
#define DMA_CFG_DXEPR_HHHP   (1<<26)
 
#define DMA_CFG_DFMPP_LP   (0<<23)
 
#define DMA_CFG_DFMPP_HP   (3<<23)
 
#define DMA_CFG_DFMPP_HHP   (2<<23)
 
#define DMA_CFG_DFMPP_HHHP   (1<<23)
 
#define DMA_CFG_FALGN   (1 << 19)
 
#define D0CPF_INT   (1<<12)
 
#define D0CSF_INT   (1<<11)
 
#define D1CPF_INT   (1<<10)
 
#define D1CSF_INT   (1<<9)
 
#define DMAE_INT   (1<<9)
 
#define I2O_IOPIM_P0SNE   (1<<3)
 
#define I2O_IOPIM_P0EM   (1<<5)
 
#define I2O_IOPIM_P1SNE   (1<<6)
 
#define I2O_IOPIM_P1EM   (1<<8)
 
#define DMA_CDB_MSK   (0xF)
 
#define DMA_CDB_64B_ADDR   (1<<2)
 
#define DMA_CDB_NO_INT   (1<<3)
 
#define DMA_CDB_STATUS_MSK   (0x3)
 
#define DMA_CDB_ADDR_MSK   (0xFFFFFFF0)
 
#define DMA_CDB_OPC_NO_OP   (0x00)
 
#define DMA_CDB_OPC_MV_SG1_SG2   (0x01)
 
#define DMA_CDB_OPC_MULTICAST   (0x05)
 
#define DMA_CDB_OPC_DFILL128   (0x24)
 
#define DMA_CDB_OPC_DCHECK128   (0x23)
 
#define DMA_CUED_XOR_BASE   (0x10000000)
 
#define DMA_CUED_XOR_HB   (0x00000008)
 
#define DMA_CUED_MULT1_OFF   2
 
#define DMA_CUED_MULT2_OFF   10
 
#define DMA_CUED_MULT3_OFF   18
 
#define DMA_CUED_REGION_OFF   26
 
#define DMA_CUED_XOR_WIN_MSK   (0xF0000000)
 
#define DMA_CUED_REGION_MSK   0x3
 
#define DMA_RXOR123   0x0
 
#define DMA_RXOR124   0x1
 
#define DMA_RXOR125   0x2
 
#define DMA_RXOR12   0x3
 
#define DMA_CDB_SG_SRC   1
 
#define DMA_CDB_SG_DST1   2
 
#define DMA_CDB_SG_DST2   3
 

Macro Definition Documentation

#define D0CPF_INT   (1<<12)

Definition at line 47 of file dma.h.

#define D0CSF_INT   (1<<11)

Definition at line 48 of file dma.h.

#define D1CPF_INT   (1<<10)

Definition at line 49 of file dma.h.

#define D1CSF_INT   (1<<9)

Definition at line 50 of file dma.h.

#define DMA0_FIFO_SIZE   0x1000

Definition at line 27 of file dma.h.

#define DMA1_FIFO_SIZE   0x1000

Definition at line 28 of file dma.h.

#define DMA_CDB_64B_ADDR   (1<<2)

Definition at line 62 of file dma.h.

#define DMA_CDB_ADDR_MSK   (0xFFFFFFF0)

Definition at line 65 of file dma.h.

#define DMA_CDB_MSK   (0xF)

Definition at line 61 of file dma.h.

#define DMA_CDB_NO_INT   (1<<3)

Definition at line 63 of file dma.h.

#define DMA_CDB_OPC_DCHECK128   (0x23)

Definition at line 72 of file dma.h.

#define DMA_CDB_OPC_DFILL128   (0x24)

Definition at line 71 of file dma.h.

#define DMA_CDB_OPC_MULTICAST   (0x05)

Definition at line 70 of file dma.h.

#define DMA_CDB_OPC_MV_SG1_SG2   (0x01)

Definition at line 69 of file dma.h.

#define DMA_CDB_OPC_NO_OP   (0x00)

Definition at line 68 of file dma.h.

#define DMA_CDB_SG_DST1   2

Definition at line 99 of file dma.h.

#define DMA_CDB_SG_DST2   3

Definition at line 100 of file dma.h.

#define DMA_CDB_SG_SRC   1

Definition at line 98 of file dma.h.

#define DMA_CDB_STATUS_MSK   (0x3)

Definition at line 64 of file dma.h.

#define DMA_CFG_DFMPP_HHHP   (1<<23)

Definition at line 41 of file dma.h.

#define DMA_CFG_DFMPP_HHP   (2<<23)

Definition at line 40 of file dma.h.

#define DMA_CFG_DFMPP_HP   (3<<23)

Definition at line 39 of file dma.h.

#define DMA_CFG_DFMPP_LP   (0<<23)

Definition at line 38 of file dma.h.

#define DMA_CFG_DXEPR_HHHP   (1<<26)

Definition at line 35 of file dma.h.

#define DMA_CFG_DXEPR_HHP   (2<<26)

Definition at line 34 of file dma.h.

#define DMA_CFG_DXEPR_HP   (3<<26)

Definition at line 33 of file dma.h.

#define DMA_CFG_DXEPR_LP   (0<<26)

Definition at line 32 of file dma.h.

#define DMA_CFG_FALGN   (1 << 19)

Definition at line 44 of file dma.h.

#define DMA_CUED_MULT1_OFF   2

Definition at line 84 of file dma.h.

#define DMA_CUED_MULT2_OFF   10

Definition at line 85 of file dma.h.

#define DMA_CUED_MULT3_OFF   18

Definition at line 86 of file dma.h.

#define DMA_CUED_REGION_MSK   0x3

Definition at line 91 of file dma.h.

#define DMA_CUED_REGION_OFF   26

Definition at line 87 of file dma.h.

#define DMA_CUED_XOR_BASE   (0x10000000)

Definition at line 74 of file dma.h.

#define DMA_CUED_XOR_HB   (0x00000008)

Definition at line 75 of file dma.h.

#define DMA_CUED_XOR_WIN_MSK   (0xF0000000)

Definition at line 88 of file dma.h.

#define DMA_DEST_MAX_NUM   2

Definition at line 24 of file dma.h.

#define DMA_ENGINES_NUM   2

Definition at line 21 of file dma.h.

#define DMA_FIFO_ENABLE   (1<<12)

Definition at line 29 of file dma.h.

#define DMA_RXOR12   0x3

Definition at line 95 of file dma.h.

#define DMA_RXOR123   0x0

Definition at line 92 of file dma.h.

#define DMA_RXOR124   0x1

Definition at line 93 of file dma.h.

#define DMA_RXOR125   0x2

Definition at line 94 of file dma.h.

#define DMAE_INT   (1<<9)

Definition at line 52 of file dma.h.

#define I2O_IOPIM_P0EM   (1<<5)

Definition at line 56 of file dma.h.

#define I2O_IOPIM_P0SNE   (1<<3)

Definition at line 55 of file dma.h.

#define I2O_IOPIM_P1EM   (1<<8)

Definition at line 58 of file dma.h.

#define I2O_IOPIM_P1SNE   (1<<6)

Definition at line 57 of file dma.h.

#define MAX_STAT_DMA_CDBS   16

Definition at line 19 of file dma.h.