Go to the source code of this file.
#define JAZZ_R4030_CHNL_ADDR 0xE0000118 /* 8 DMA Channel Address Regs, */ |
#define JAZZ_R4030_CHNL_COUNT 0xE0000110 /* 8 DMA Channel Byte Cnt Regs, */ |
#define JAZZ_R4030_CHNL_ENABLE 0xE0000108 /* 8 DMA Channel Enable Regs, */ |
#define JAZZ_R4030_CHNL_MODE 0xE0000100 /* 8 DMA Channel Mode Registers, */ |
#define R4030_ADDR_INTR (1<<10) |
#define R4030_CHNL_ENABLE (1<<0) |
#define R4030_CHNL_WRITE (1<<1) |
#define R4030_MEM_INTR (1<<9) |
#define R4030_MODE_ATIME_120 (2) |
#define R4030_MODE_ATIME_160 (3) |
#define R4030_MODE_ATIME_200 (4) |
#define R4030_MODE_ATIME_240 (5) |
#define R4030_MODE_ATIME_280 (6) |
#define R4030_MODE_ATIME_320 (7) |
#define R4030_MODE_ATIME_80 (1) |
#define R4030_MODE_BURST (1<<6) /* Rev. 2 only */ |
#define R4030_MODE_FAST_ACK (1<<7) /* Rev. 2 only */ |
#define R4030_MODE_INTR_EN (1<<5) |
#define R4030_MODE_WIDTH_16 (2<<3) |
#define R4030_MODE_WIDTH_32 (3<<3) |
#define R4030_TC_INTR (1<<8) |
#define VDMA_ERROR 0xffffffff |
#define VDMA_PAGE |
( |
|
a | ) |
((unsigned int)(a) >> 12) |
#define VDMA_PAGE_EMPTY 0xff000000 |
#define VDMA_PAGESIZE 4096 |
#define VDMA_PGTBL_ENTRIES 4096 |
unsigned long vdma_alloc |
( |
unsigned long |
paddr, |
|
|
unsigned long |
size |
|
) |
| |
int vdma_free |
( |
unsigned long |
laddr | ) |
|
int vdma_get_enable |
( |
int |
channel | ) |
|
int vdma_get_residue |
( |
int |
channel | ) |
|
unsigned long vdma_log2phys |
( |
unsigned long |
laddr | ) |
|
unsigned long vdma_phys2log |
( |
unsigned long |
paddr | ) |
|
int vdma_remap |
( |
unsigned long |
laddr, |
|
|
unsigned long |
paddr, |
|
|
unsigned long |
size |
|
) |
| |