Lines Matching defs:stream
251 * the total number of slots of the TDM stream and @slot_with the width of each
253 * active slots of the TDM stream for the specified DAI, i.e. which slots the
270 int stream;
283 for_each_pcm_streams(stream)
284 snd_soc_dai_tdm_mask_set(dai, stream, *tdm_mask[stream]);
367 * @direction: stream to mute
427 if (!snd_soc_dai_stream_valid(dai, substream->stream))
445 if (!snd_soc_dai_stream_valid(dai, substream->stream))
470 * snd_soc_dai_stream_valid() - check if a DAI supports the given stream
472 * Returns true if the DAI supports the indicated stream type.
476 struct snd_soc_pcm_stream *stream = snd_soc_dai_get_pcm_stream(dai, dir);
478 /* If the codec specifies any channels at all, it supports the stream */
479 return stream->channels_min;
521 int stream, int action)
524 dai->stream[stream].active += action;
533 int stream, active;
536 for_each_pcm_streams(stream)
537 active += dai->stream[stream].active;
618 if (!snd_soc_dai_stream_valid(dai, substream->stream))
636 if (!snd_soc_dai_stream_valid(dai, substream->stream))
663 snd_soc_dai_digital_mute(dai, 0, substream->stream);
676 snd_soc_dai_digital_mute(dai, 1, substream->stream);