summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx31/sdma-imx31.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2009-02-13 12:59:30 +0000
committerMichael Sevakis <jethead71@rockbox.org>2009-02-13 12:59:30 +0000
commit63404a7d5d8ea00b50ff25f19ceb0afe43c5c3c1 (patch)
treeb5bafcdab207f7fe96ec623dbbb31fa2d208928c /firmware/target/arm/imx31/sdma-imx31.h
parenteb960582667bf92b3bbd19b7269c59beded15970 (diff)
downloadrockbox-63404a7d5d8ea00b50ff25f19ceb0afe43c5c3c1.tar.gz
rockbox-63404a7d5d8ea00b50ff25f19ceb0afe43c5c3c1.zip
Separate running an SDMA channel from resetting it. It should make usage more flexible since resets are needed only before restarting if aborting transfers (because the script is left awaiting requests, not the next start) which PCM does alot of but other things likely won't.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20000 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/imx31/sdma-imx31.h')
-rw-r--r--firmware/target/arm/imx31/sdma-imx31.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/imx31/sdma-imx31.h b/firmware/target/arm/imx31/sdma-imx31.h
index fa8195198b..5daa33d7ba 100644
--- a/firmware/target/arm/imx31/sdma-imx31.h
+++ b/firmware/target/arm/imx31/sdma-imx31.h
@@ -212,7 +212,7 @@ void sdma_init(void);
212void sdma_read_words(unsigned long *buf, unsigned long start, int count); 212void sdma_read_words(unsigned long *buf, unsigned long start, int count);
213void sdma_write_words(const unsigned long *buf, unsigned long start, int count); 213void sdma_write_words(const unsigned long *buf, unsigned long start, int count);
214void sdma_channel_set_priority(unsigned int channel, unsigned int priority); 214void sdma_channel_set_priority(unsigned int channel, unsigned int priority);
215void sdma_channel_start(unsigned int channel); 215bool sdma_channel_reset(unsigned int channel);
216void sdma_channel_run(unsigned int channel); 216void sdma_channel_run(unsigned int channel);
217void sdma_channel_pause(unsigned int channel); 217void sdma_channel_pause(unsigned int channel);
218void sdma_channel_stop(unsigned int channel); 218void sdma_channel_stop(unsigned int channel);