Lines Matching defs:pcm
33 #include <sound/pcm.h>
735 struct snd_pcm *pcm;
760 /* pcm streams */
1388 dev_err(substream->pcm->card->dev, "oh my, not aligned\n");
1815 * create pcm instance
1841 struct snd_pcm *pcm;
1845 MAX_PLAYBACKS, MAX_CAPTURES, &pcm);
1849 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_m3_playback_ops);
1850 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_m3_capture_ops);
1852 pcm->private_data = chip;
1853 pcm->info_flags = 0;
1854 strcpy(pcm->name, chip->card->driver);
1855 chip->pcm = pcm;
1857 snd_pcm_set_managed_buffer_all(pcm, SNDRV_DMA_TYPE_DEV,