Lines Matching refs:hstream
94 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dsp_pcm_hw_params() local
95 struct hdac_ext_stream *stream = stream_to_hdac_ext_stream(hstream); in hda_dsp_pcm_hw_params()
106 hstream->substream = substream; in hda_dsp_pcm_hw_params()
110 hstream->format_val = rate | bits | (params_channels(params) - 1); in hda_dsp_pcm_hw_params()
111 hstream->bufsize = size; in hda_dsp_pcm_hw_params()
112 hstream->period_bytes = params_period_bytes(params); in hda_dsp_pcm_hw_params()
113 hstream->no_period_wakeup = in hda_dsp_pcm_hw_params()
138 ipc_params->stream_tag = hstream->stream_tag; in hda_dsp_pcm_hw_params()
146 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dsp_pcm_trigger() local
147 struct hdac_ext_stream *stream = stream_to_hdac_ext_stream(hstream); in hda_dsp_pcm_trigger()
157 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dsp_pcm_pointer() local
187 hstream->index)); in hda_dsp_pcm_pointer()
205 hstream->index)); in hda_dsp_pcm_pointer()
206 pos = snd_hdac_stream_get_pos_posbuf(hstream); in hda_dsp_pcm_pointer()
209 if (pos >= hstream->bufsize) in hda_dsp_pcm_pointer()
216 hstream->index, substream->stream, pos); in hda_dsp_pcm_pointer()
263 substream->runtime->private_data = &dsp_stream->hstream; in hda_dsp_pcm_open()
270 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dsp_pcm_close() local
274 ret = hda_dsp_stream_put(sdev, direction, hstream->stream_tag); in hda_dsp_pcm_close()