Lines Matching refs:pcm
198 struct hdac_hda_pcm *pcm;
205 pcm = &hda_pvt->pcm[dai->id];
208 pcm->stream_tag[direction] = hstream->stream_tag;
241 hda_pvt->pcm[dai->id].format_val[substream->stream] = format_val;
251 struct hda_pcm *pcm;
254 pcm = snd_soc_find_pcm_from_dai(hda_pvt, dai);
255 if (!pcm)
258 hda_stream = &pcm->stream[substream->stream];
271 struct hda_pcm *pcm;
276 pcm = snd_soc_find_pcm_from_dai(hda_pvt, dai);
277 if (!pcm)
280 hda_stream = &pcm->stream[substream->stream];
282 stream = hda_pvt->pcm[dai->id].stream_tag[substream->stream];
283 format_val = hda_pvt->pcm[dai->id].format_val[substream->stream];
299 struct hda_pcm *pcm;
303 pcm = snd_soc_find_pcm_from_dai(hda_pvt, dai);
304 if (!pcm)
307 snd_hda_codec_pcm_get(pcm);
309 hda_stream = &pcm->stream[substream->stream];
324 struct hda_pcm *pcm;
327 pcm = snd_soc_find_pcm_from_dai(hda_pvt, dai);
328 if (!pcm)
331 hda_stream = &pcm->stream[substream->stream];
335 snd_hda_codec_pcm_put(pcm);