Lines Matching defs:stream
90 struct hdac_ext_stream *stream = stream_to_hdac_ext_stream(hstream);
112 ret = hda_dsp_stream_hw_params(sdev, stream, dmab, params);
118 /* disable SPIB, to enable buffer wrap for stream */
119 hda_dsp_stream_spib_config(sdev, stream, HDA_DSP_SPIB_DISABLE, 0);
142 struct hdac_ext_stream *stream = stream_to_hdac_ext_stream(hstream);
144 return hda_dsp_stream_trigger(sdev, stream, cmd);
166 pos = spcm->stream[substream->stream].posn.host_posn;
178 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
185 * For capture stream, we need more workaround to fix the
210 dev_vdbg(sdev->dev, "PCM: stream %d dir %d position %lu\n",
211 hstream->index, substream->stream, pos);
219 int direction = substream->stream;
224 dev_err(sdev->dev, "error: no stream available\n");
228 /* binding pcm substream to hda stream */
237 int direction = substream->stream;
243 dev_dbg(sdev->dev, "stream %s not opened!\n", substream->name);
247 /* unbinding pcm substream to hda stream */