Lines Matching defs:pcm
2 * omap-pcm.c -- ALSA PCM interface for the OMAP SoC
28 #include <sound/pcm.h>
33 #include "omap-pcm.h"
303 return dma_mmap_writecombine(substream->pcm->card->dev, vma,
323 static int omap_pcm_preallocate_dma_buffer(struct snd_pcm *pcm,
326 struct snd_pcm_substream *substream = pcm->streams[stream].substream;
331 buf->dev.dev = pcm->card->dev;
333 buf->area = dma_alloc_writecombine(pcm->card->dev, size,
342 static void omap_pcm_free_dma_buffers(struct snd_pcm *pcm)
349 substream = pcm->streams[stream].substream;
357 dma_free_writecombine(pcm->card->dev, buf->bytes,
364 struct snd_pcm *pcm)
374 ret = omap_pcm_preallocate_dma_buffer(pcm,
381 ret = omap_pcm_preallocate_dma_buffer(pcm,
392 .name = "omap-pcm-audio",