Lines Matching refs:pcm
190 struct hdac_hda_pcm *pcm; in hdac_hda_dai_set_stream() local
197 pcm = &hda_pvt->pcm[dai->id]; in hdac_hda_dai_set_stream()
200 pcm->stream_tag[direction] = hstream->stream_tag; in hdac_hda_dai_set_stream()
234 hda_pvt->pcm[dai->id].format_val[substream->stream] = format_val; in hdac_hda_dai_hw_params()
244 struct hda_pcm *pcm; in hdac_hda_dai_hw_free() local
247 pcm = snd_soc_find_pcm_from_dai(hda_pvt, dai); in hdac_hda_dai_hw_free()
248 if (!pcm) in hdac_hda_dai_hw_free()
251 hda_stream = &pcm->stream[substream->stream]; in hdac_hda_dai_hw_free()
265 struct hda_pcm *pcm; in hdac_hda_dai_prepare() local
271 pcm = snd_soc_find_pcm_from_dai(hda_pvt, dai); in hdac_hda_dai_prepare()
272 if (!pcm) in hdac_hda_dai_prepare()
275 hda_stream = &pcm->stream[substream->stream]; in hdac_hda_dai_prepare()
277 stream = hda_pvt->pcm[dai->id].stream_tag[substream->stream]; in hdac_hda_dai_prepare()
278 format_val = hda_pvt->pcm[dai->id].format_val[substream->stream]; in hdac_hda_dai_prepare()
294 struct hda_pcm *pcm; in hdac_hda_dai_open() local
297 pcm = snd_soc_find_pcm_from_dai(hda_pvt, dai); in hdac_hda_dai_open()
298 if (!pcm) in hdac_hda_dai_open()
301 snd_hda_codec_pcm_get(pcm); in hdac_hda_dai_open()
303 hda_stream = &pcm->stream[substream->stream]; in hdac_hda_dai_open()
314 struct hda_pcm *pcm; in hdac_hda_dai_close() local
317 pcm = snd_soc_find_pcm_from_dai(hda_pvt, dai); in hdac_hda_dai_close()
318 if (!pcm) in hdac_hda_dai_close()
321 hda_stream = &pcm->stream[substream->stream]; in hdac_hda_dai_close()
325 snd_hda_codec_pcm_put(pcm); in hdac_hda_dai_close()