Lines Matching defs:pcm
187 struct hdac_hda_pcm *pcm;
194 pcm = &hda_pvt->pcm[dai->id];
197 pcm->stream_tag[direction] = hstream->stream_tag;
231 hda_pvt->pcm[dai->id].format_val[substream->stream] = format_val;
241 struct hda_pcm *pcm;
244 pcm = snd_soc_find_pcm_from_dai(hda_pvt, dai);
245 if (!pcm)
248 hda_stream = &pcm->stream[substream->stream];
262 struct hda_pcm *pcm;
268 pcm = snd_soc_find_pcm_from_dai(hda_pvt, dai);
269 if (!pcm)
272 hda_stream = &pcm->stream[substream->stream];
274 stream = hda_pvt->pcm[dai->id].stream_tag[substream->stream];
275 format_val = hda_pvt->pcm[dai->id].format_val[substream->stream];
291 struct hda_pcm *pcm;
294 pcm = snd_soc_find_pcm_from_dai(hda_pvt, dai);
295 if (!pcm)
298 snd_hda_codec_pcm_get(pcm);
300 hda_stream = &pcm->stream[substream->stream];
311 struct hda_pcm *pcm;
314 pcm = snd_soc_find_pcm_from_dai(hda_pvt, dai);
315 if (!pcm)
318 hda_stream = &pcm->stream[substream->stream];
322 snd_hda_codec_pcm_put(pcm);