Go to the documentation of this file.
29 #define VDMA_PAGESIZE 4096
30 #define VDMA_PGTBL_ENTRIES 4096
31 #define VDMA_PGTBL_SIZE (sizeof(VDMA_PGTBL_ENTRY) * VDMA_PGTBL_ENTRIES)
32 #define VDMA_PAGE_EMPTY 0xff000000
38 #define VDMA_PAGE(a) ((unsigned int)(a) >> 12)
39 #define VDMA_OFFSET(a) ((unsigned int)(a) & (VDMA_PAGESIZE-1))
45 #define VDMA_ERROR 0xffffffff
60 #define JAZZ_R4030_CHNL_MODE 0xE0000100
62 #define JAZZ_R4030_CHNL_ENABLE 0xE0000108
64 #define JAZZ_R4030_CHNL_COUNT 0xE0000110
66 #define JAZZ_R4030_CHNL_ADDR 0xE0000118
71 #define R4030_CHNL_ENABLE (1<<0)
72 #define R4030_CHNL_WRITE (1<<1)
73 #define R4030_TC_INTR (1<<8)
74 #define R4030_MEM_INTR (1<<9)
75 #define R4030_ADDR_INTR (1<<10)
80 #define R4030_MODE_ATIME_40 (0)
81 #define R4030_MODE_ATIME_80 (1)
82 #define R4030_MODE_ATIME_120 (2)
83 #define R4030_MODE_ATIME_160 (3)
84 #define R4030_MODE_ATIME_200 (4)
85 #define R4030_MODE_ATIME_240 (5)
86 #define R4030_MODE_ATIME_280 (6)
87 #define R4030_MODE_ATIME_320 (7)
88 #define R4030_MODE_WIDTH_8 (1<<3)
89 #define R4030_MODE_WIDTH_16 (2<<3)
90 #define R4030_MODE_WIDTH_32 (3<<3)
91 #define R4030_MODE_INTR_EN (1<<5)
92 #define R4030_MODE_BURST (1<<6)
93 #define R4030_MODE_FAST_ACK (1<<7)