aboutsummaryrefslogtreecommitdiff
path: root/sound/arm/devdma.h
diff options
context:
space:
mode:
authorRussell King <rmk@arm.linux.org.uk>2005-05-12 10:25:58 +0200
committerJaroslav Kysela <perex@suse.cz>2005-05-29 10:06:49 +0200
commit9b9a5afffd8636a82c6b32970342aef9d1f3d17d (patch)
tree459b442ae9d43f988c3dcd1b6cf154fd76b1861b /sound/arm/devdma.h
parentf7de9cfd25b6867a2854d98d734e03e1a9fc65fb (diff)
[ALSA] ARM DMA subsystem
ARM DMA routines The patch below adds a convenient re-usable shim around the extended ARM DMA API, and is used by several ARM ALSA drivers. Signed-off-by: Russell King <rmk@arm.linux.org.uk> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/arm/devdma.h')
-rw-r--r--sound/arm/devdma.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/arm/devdma.h b/sound/arm/devdma.h
new file mode 100644
index 00000000000..5a33b6bacc3
--- /dev/null
+++ b/sound/arm/devdma.h
@@ -0,0 +1,3 @@
+void devdma_hw_free(struct device *dev, snd_pcm_substream_t *substream);
+int devdma_hw_alloc(struct device *dev, snd_pcm_substream_t *substream, size_t size);
+int devdma_mmap(struct device *dev, snd_pcm_substream_t *substream, struct vm_area_struct *vma);