Lines Matching refs:hstream
89 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dsp_pcm_hw_params() local
90 struct hdac_ext_stream *stream = stream_to_hdac_ext_stream(hstream); in hda_dsp_pcm_hw_params()
101 hstream->substream = substream; in hda_dsp_pcm_hw_params()
105 hstream->format_val = rate | bits | (params_channels(params) - 1); in hda_dsp_pcm_hw_params()
106 hstream->bufsize = size; in hda_dsp_pcm_hw_params()
107 hstream->period_bytes = params_period_bytes(params); in hda_dsp_pcm_hw_params()
108 hstream->no_period_wakeup = in hda_dsp_pcm_hw_params()
133 ipc_params->stream_tag = hstream->stream_tag; in hda_dsp_pcm_hw_params()
141 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dsp_pcm_trigger() local
142 struct hdac_ext_stream *stream = stream_to_hdac_ext_stream(hstream); in hda_dsp_pcm_trigger()
152 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dsp_pcm_pointer() local
182 hstream->index)); in hda_dsp_pcm_pointer()
200 hstream->index)); in hda_dsp_pcm_pointer()
201 pos = snd_hdac_stream_get_pos_posbuf(hstream); in hda_dsp_pcm_pointer()
204 if (pos >= hstream->bufsize) in hda_dsp_pcm_pointer()
211 hstream->index, substream->stream, pos); in hda_dsp_pcm_pointer()
229 substream->runtime->private_data = &dsp_stream->hstream; in hda_dsp_pcm_open()
236 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dsp_pcm_close() local
240 ret = hda_dsp_stream_put(sdev, direction, hstream->stream_tag); in hda_dsp_pcm_close()