Lines Matching defs:pcm
20 #include <sound/pcm.h>
121 struct snd_pcm *pcm;
555 if (substream->pcm->device & 1) {
559 if (substream->pcm->device & 2)
672 struct snd_pcm *pcm;
677 substreams, substreams, &pcm);
680 dummy->pcm = pcm;
685 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, ops);
686 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, ops);
687 pcm->private_data = dummy;
688 pcm->info_flags = 0;
689 strcpy(pcm->name, "Dummy PCM");
691 snd_pcm_set_managed_buffer_all(pcm,