Lines Matching refs:hstr
215 struct hdac_stream *hstr; in azx_pcm_trigger() local
223 hstr = azx_stream(azx_dev); in azx_pcm_trigger()
229 if (dsp_is_locked(azx_dev) || !hstr->prepared) in azx_pcm_trigger()
258 snd_hdac_stream_sync_trigger(hstr, true, sbits, sync_reg); in azx_pcm_trigger()
273 snd_hdac_stream_sync(hstr, start, sbits); in azx_pcm_trigger()
277 snd_hdac_stream_sync_trigger(hstr, false, sbits, sync_reg); in azx_pcm_trigger()
278 snd_hdac_stream_timecounter_init(hstr, sbits, start); in azx_pcm_trigger()
968 struct hdac_stream *hstr; in snd_hda_codec_load_dsp_prepare() local
973 hstr = azx_stream(azx_dev); in snd_hda_codec_load_dsp_prepare()
975 if (hstr->opened) { in snd_hda_codec_load_dsp_prepare()
981 err = snd_hdac_dsp_prepare(hstr, format, byte_size, bufp); in snd_hda_codec_load_dsp_prepare()
990 hstr->prepared = 0; in snd_hda_codec_load_dsp_prepare()
1011 struct hdac_stream *hstr = azx_stream(azx_dev); in snd_hda_codec_load_dsp_cleanup() local
1013 if (!dmab->area || !hstr->locked) in snd_hda_codec_load_dsp_cleanup()
1016 snd_hdac_dsp_cleanup(hstr, dmab); in snd_hda_codec_load_dsp_cleanup()
1018 if (hstr->opened) in snd_hda_codec_load_dsp_cleanup()
1020 hstr->locked = false; in snd_hda_codec_load_dsp_cleanup()