Lines Matching refs:hstr
209 struct hdac_stream *hstr; in azx_pcm_trigger() local
217 hstr = azx_stream(azx_dev); in azx_pcm_trigger()
223 if (dsp_is_locked(azx_dev) || !hstr->prepared) in azx_pcm_trigger()
252 snd_hdac_stream_sync_trigger(hstr, true, sbits, sync_reg); in azx_pcm_trigger()
267 snd_hdac_stream_sync(hstr, start, sbits); in azx_pcm_trigger()
271 snd_hdac_stream_sync_trigger(hstr, false, sbits, sync_reg); in azx_pcm_trigger()
273 snd_hdac_stream_timecounter_init(hstr, sbits); in azx_pcm_trigger()
962 struct hdac_stream *hstr; in snd_hda_codec_load_dsp_prepare() local
967 hstr = azx_stream(azx_dev); in snd_hda_codec_load_dsp_prepare()
969 if (hstr->opened) { in snd_hda_codec_load_dsp_prepare()
975 err = snd_hdac_dsp_prepare(hstr, format, byte_size, bufp); in snd_hda_codec_load_dsp_prepare()
984 hstr->prepared = 0; in snd_hda_codec_load_dsp_prepare()
1005 struct hdac_stream *hstr = azx_stream(azx_dev); in snd_hda_codec_load_dsp_cleanup() local
1007 if (!dmab->area || !hstr->locked) in snd_hda_codec_load_dsp_cleanup()
1010 snd_hdac_dsp_cleanup(hstr, dmab); in snd_hda_codec_load_dsp_cleanup()
1012 if (hstr->opened) in snd_hda_codec_load_dsp_cleanup()
1014 hstr->locked = false; in snd_hda_codec_load_dsp_cleanup()