aboutsummaryrefslogtreecommitdiffstats
path: root/sound/arm/devdma.h
diff options
context:
space:
mode:
authorRussell King <rmk@arm.linux.org.uk>2005-05-12 04:25:58 -0400
committerJaroslav Kysela <perex@suse.cz>2005-05-29 04:06:49 -0400
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 000000000000..5a33b6bacc34
--- /dev/null
+++ b/sound/arm/devdma.h
@@ -0,0 +1,3 @@
1void devdma_hw_free(struct device *dev, snd_pcm_substream_t *substream);
2int devdma_hw_alloc(struct device *dev, snd_pcm_substream_t *substream, size_t size);
3int devdma_mmap(struct device *dev, snd_pcm_substream_t *substream, struct vm_area_struct *vma);