Lines Matching defs:pcm
101 struct snd_pcm *pcm;
211 for (s = info->pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream; s; s = s->next)
315 info->pcm->streams[SNDRV_PCM_STREAM_CAPTURE].chmap_kctl = NULL;
701 static int mchp_pdmc_add_chmap_ctls(struct snd_pcm *pcm, struct mchp_pdmc *dd)
716 if (WARN_ON(pcm->streams[SNDRV_PCM_STREAM_CAPTURE].chmap_kctl))
721 info->pcm = pcm;
725 knew.device = pcm->device;
726 knew.count = pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream_count;
733 err = snd_ctl_add(pcm->card, info->kctl);
736 pcm->streams[SNDRV_PCM_STREAM_CAPTURE].chmap_kctl = info->kctl;
746 ret = mchp_pdmc_add_chmap_ctls(rtd->pcm, dd);