Lines Matching defs:pcm
33 #include <sound/pcm.h>
730 struct snd_pcm *pcm;
755 /* pcm streams */
1383 dev_err(substream->pcm->card->dev, "oh my, not aligned\n");
1812 * create pcm instance
1838 struct snd_pcm *pcm;
1842 MAX_PLAYBACKS, MAX_CAPTURES, &pcm);
1846 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_m3_playback_ops);
1847 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_m3_capture_ops);
1849 pcm->private_data = chip;
1850 pcm->info_flags = 0;
1851 strcpy(pcm->name, chip->card->driver);
1852 chip->pcm = pcm;
1854 snd_pcm_set_managed_buffer_all(pcm, SNDRV_DMA_TYPE_DEV,