diff options
author | Bryan Wu <bryan.wu@analog.com> | 2007-10-21 12:02:14 -0400 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-10-21 12:02:14 -0400 |
commit | 452af71f36685c932a5cce540a48c1818df6533f (patch) | |
tree | c466051e5be2b193c6fe41afc5335011dce1f6ea /include/asm-blackfin/dma.h | |
parent | 780431e397c82df7e20ee17536b97a08f97ef8ba (diff) |
Blackfin arch: dma add some API and cleanup bf54x DMA definition
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'include/asm-blackfin/dma.h')
-rw-r--r-- | include/asm-blackfin/dma.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/asm-blackfin/dma.h b/include/asm-blackfin/dma.h index b42a531e7a1b..b469505af364 100644 --- a/include/asm-blackfin/dma.h +++ b/include/asm-blackfin/dma.h | |||
@@ -109,9 +109,7 @@ struct dma_register { | |||
109 | 109 | ||
110 | unsigned long curr_desc_ptr; /* DMA Current Descriptor Pointer | 110 | unsigned long curr_desc_ptr; /* DMA Current Descriptor Pointer |
111 | register */ | 111 | register */ |
112 | unsigned short curr_addr_ptr_lo; /* DMA Current Address Pointer | 112 | unsigned long curr_addr_ptr; /* DMA Current Address Pointer |
113 | register */ | ||
114 | unsigned short curr_addr_ptr_hi; /* DMA Current Address Pointer | ||
115 | register */ | 113 | register */ |
116 | unsigned short irq_status; /* DMA irq status register */ | 114 | unsigned short irq_status; /* DMA irq status register */ |
117 | unsigned short dummy6; | 115 | unsigned short dummy6; |
@@ -166,6 +164,9 @@ void set_dma_curr_addr(unsigned int channel, unsigned long addr); | |||
166 | unsigned short get_dma_curr_irqstat(unsigned int channel); | 164 | unsigned short get_dma_curr_irqstat(unsigned int channel); |
167 | unsigned short get_dma_curr_xcount(unsigned int channel); | 165 | unsigned short get_dma_curr_xcount(unsigned int channel); |
168 | unsigned short get_dma_curr_ycount(unsigned int channel); | 166 | unsigned short get_dma_curr_ycount(unsigned int channel); |
167 | unsigned long get_dma_next_desc_ptr(unsigned int channel); | ||
168 | unsigned long get_dma_curr_desc_ptr(unsigned int channel); | ||
169 | unsigned long get_dma_curr_addr(unsigned int channel); | ||
169 | 170 | ||
170 | /* set large DMA mode descriptor */ | 171 | /* set large DMA mode descriptor */ |
171 | void set_dma_sg(unsigned int channel, struct dmasg *sg, int nr_sg); | 172 | void set_dma_sg(unsigned int channel, struct dmasg *sg, int nr_sg); |