Lines Matching defs:pcm
37 #include <sound/pcm.h>
585 struct snd_pcm *pcm;
593 err = snd_pcm_new(h->card, "harmony", 0, 1, 1, &pcm);
597 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK,
599 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
602 pcm->private_data = h;
603 pcm->info_flags = 0;
604 strcpy(pcm->name, "harmony");
605 h->pcm = pcm;
633 snd_pcm_set_managed_buffer_all(pcm, h->dma.type, h->dma.dev,