aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-blackfin
diff options
context:
space:
mode:
authorRoy Huang <roy.huang@analog.com>2007-10-10 11:31:19 -0400
committerBryan Wu <bryan.wu@analog.com>2007-10-10 11:31:19 -0400
commit1d945e2b3e421f2ce01b2eb260392f888406933f (patch)
tree306716a6ebba2e17af352ece0bad9af34c9a7843 /include/asm-blackfin
parent518039bc24cbb9ce34665814fe120eac50bedd9a (diff)
Blackfin arch: add set_dma_curr_addr DMA API to support sound driver recording function
Signed-off-by: Roy Huang <roy.huang@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'include/asm-blackfin')
-rw-r--r--include/asm-blackfin/dma.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-blackfin/dma.h b/include/asm-blackfin/dma.h
index be0d913e5516..4269082b154a 100644
--- a/include/asm-blackfin/dma.h
+++ b/include/asm-blackfin/dma.h
@@ -159,6 +159,7 @@ void set_dma_y_modify(unsigned int channel, short y_modify);
159void set_dma_config(unsigned int channel, unsigned short config); 159void set_dma_config(unsigned int channel, unsigned short config);
160unsigned short set_bfin_dma_config(char direction, char flow_mode, 160unsigned short set_bfin_dma_config(char direction, char flow_mode,
161 char intr_mode, char dma_mode, char width); 161 char intr_mode, char dma_mode, char width);
162void set_dma_curr_addr(unsigned int channel, unsigned long addr);
162 163
163/* get curr status for polling */ 164/* get curr status for polling */
164unsigned short get_dma_curr_irqstat(unsigned int channel); 165unsigned short get_dma_curr_irqstat(unsigned int channel);