[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>
This commit is contained in:
Russell King
2005-05-12 10:25:58 +02:00
committed by Jaroslav Kysela
parent f7de9cfd25
commit 9b9a5afffd
2 changed files with 84 additions and 0 deletions

3
sound/arm/devdma.h Normal file
View File

@@ -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);