Lines Matching defs:pcm
11 #include <sound/pcm.h>
15 #include "sprd-pcm-dma.h"
455 struct snd_pcm *pcm = rtd->pcm;
463 substream = pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream;
475 substream = pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream;
483 snd_dma_free_pages(&pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream->dma_buffer);
492 struct snd_pcm *pcm)
497 for (i = 0; i < ARRAY_SIZE(pcm->streams); i++) {
498 substream = pcm->streams[i].substream;
540 { .compatible = "sprd,pcm-platform", },
547 .name = "sprd-pcm-audio",