Lines Matching defs:pcm
15 #include <sound/pcm.h>
168 * @pcm: PCM devices
210 struct snd_pcm *pcm;
569 if (chip->pcm && (status & FM801_IRQ_PLAYBACK) && chip->playback_substream) {
583 if (chip->pcm && (status & FM801_IRQ_CAPTURE) && chip->capture_substream) {
719 struct snd_pcm *pcm;
722 err = snd_pcm_new(chip->card, "FM801", device, 1, 1, &pcm);
726 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_fm801_playback_ops);
727 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_fm801_capture_ops);
729 pcm->private_data = chip;
730 pcm->info_flags = 0;
731 strcpy(pcm->name, "FM801");
732 chip->pcm = pcm;
734 snd_pcm_set_managed_buffer_all(pcm, SNDRV_DMA_TYPE_DEV, &pdev->dev,
737 return snd_pcm_add_chmap_ctls(pcm, SNDRV_PCM_STREAM_PLAYBACK,