Lines Matching defs:stream
28 int stream;
62 struct hdac_stream *stream = NULL;
64 int stream_dir = substream->stream;
67 dev_err(bus->dev, "stream type not supported\n");
72 list_for_each_entry(stream, &bus->stream_list, list) {
74 stream_to_hdac_ext_stream(stream);
75 if (stream->direction != substream->stream)
82 if (stream->opened) {
84 * check if the stream tag matches the stream
88 stream->stream_tag)) {
96 * This must be a hostless stream.
121 static int hda_link_dma_params(struct hdac_ext_stream *stream,
124 struct hdac_stream *hstream = &stream->hstream;
130 snd_hdac_ext_stream_decouple(bus, stream, true);
131 snd_hdac_ext_link_stream_reset(stream);
140 snd_hdac_ext_link_stream_setup(stream, format_val);
142 if (stream->hstream.direction == SNDRV_PCM_STREAM_PLAYBACK) {
150 stream->link_prepared = 1;
179 /* update config with stream tag */
235 substream->stream);
240 snd_soc_dai_set_stream(codec_dai, hdac_stream(link_dev), substream->stream);
245 p_params.stream = substream->stream;
250 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
266 int stream = substream->stream;
271 dev_dbg(sdev->dev, "hda: prepare stream dir %d\n", substream->stream);
273 return hda_link_hw_params(substream, &rtd->dpcm[stream].hw_params,
323 DMA_CHAN_INVALID, substream->stream);
327 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
371 substream->stream);
379 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {