diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2009-02-13 12:59:30 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2009-02-13 12:59:30 +0000 |
commit | 63404a7d5d8ea00b50ff25f19ceb0afe43c5c3c1 (patch) | |
tree | b5bafcdab207f7fe96ec623dbbb31fa2d208928c /firmware/target/arm/imx31/sdma-imx31.h | |
parent | eb960582667bf92b3bbd19b7269c59beded15970 (diff) | |
download | rockbox-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.h | 2 |
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); | |||
212 | void sdma_read_words(unsigned long *buf, unsigned long start, int count); | 212 | void sdma_read_words(unsigned long *buf, unsigned long start, int count); |
213 | void sdma_write_words(const unsigned long *buf, unsigned long start, int count); | 213 | void sdma_write_words(const unsigned long *buf, unsigned long start, int count); |
214 | void sdma_channel_set_priority(unsigned int channel, unsigned int priority); | 214 | void sdma_channel_set_priority(unsigned int channel, unsigned int priority); |
215 | void sdma_channel_start(unsigned int channel); | 215 | bool sdma_channel_reset(unsigned int channel); |
216 | void sdma_channel_run(unsigned int channel); | 216 | void sdma_channel_run(unsigned int channel); |
217 | void sdma_channel_pause(unsigned int channel); | 217 | void sdma_channel_pause(unsigned int channel); |
218 | void sdma_channel_stop(unsigned int channel); | 218 | void sdma_channel_stop(unsigned int channel); |