Lines Matching refs:hstr
212 struct hdac_stream *hstr; in azx_pcm_trigger() local
220 hstr = azx_stream(azx_dev); in azx_pcm_trigger()
226 if (dsp_is_locked(azx_dev) || !hstr->prepared) in azx_pcm_trigger()
255 snd_hdac_stream_sync_trigger(hstr, true, sbits, sync_reg); in azx_pcm_trigger()
270 snd_hdac_stream_sync(hstr, start, sbits); in azx_pcm_trigger()
274 snd_hdac_stream_sync_trigger(hstr, false, sbits, sync_reg); in azx_pcm_trigger()
276 snd_hdac_stream_timecounter_init(hstr, sbits); in azx_pcm_trigger()
1029 struct hdac_stream *hstr; in snd_hda_codec_load_dsp_prepare() local
1034 hstr = azx_stream(azx_dev); in snd_hda_codec_load_dsp_prepare()
1036 if (hstr->opened) { in snd_hda_codec_load_dsp_prepare()
1042 err = snd_hdac_dsp_prepare(hstr, format, byte_size, bufp); in snd_hda_codec_load_dsp_prepare()
1051 hstr->prepared = 0; in snd_hda_codec_load_dsp_prepare()
1072 struct hdac_stream *hstr = azx_stream(azx_dev); in snd_hda_codec_load_dsp_cleanup() local
1074 if (!dmab->area || !hstr->locked) in snd_hda_codec_load_dsp_cleanup()
1077 snd_hdac_dsp_cleanup(hstr, dmab); in snd_hda_codec_load_dsp_cleanup()
1079 if (hstr->opened) in snd_hda_codec_load_dsp_cleanup()
1081 hstr->locked = false; in snd_hda_codec_load_dsp_cleanup()