Lines Matching defs:pcm
18 #include <sound/pcm.h>
82 platform_ops = substream->pcm->card->dev->platform_data;
96 platform_ops = substream->pcm->card->dev->platform_data;
187 struct snd_pcm *pcm;
190 ret = snd_pcm_new(card, "PXA2xx-PCM", 0, 1, 1, &pcm);
194 pcm->private_free = pxa2xx_pcm_free_dma_buffers;
201 snd_pcm_set_ops(pcm, stream, &pxa2xx_ac97_pcm_ops);
202 ret = pxa2xx_pcm_preallocate_dma_buffer(pcm, stream);
207 snd_pcm_set_ops(pcm, stream, &pxa2xx_ac97_pcm_ops);
208 ret = pxa2xx_pcm_preallocate_dma_buffer(pcm, stream);
212 pxa2xx_ac97_pcm = pcm;