Lines Matching defs:stream
1286 * @stream: stream direction.
1287 * @list: list of active widgets for this stream.
1291 * Queries DAPM graph as to whether a valid audio stream path exists for
1292 * the initial stream specified by name. This takes into account
1302 int snd_soc_dapm_dai_get_connected_widgets(struct snd_soc_dai *dai, int stream,
1315 if (stream == SNDRV_PCM_STREAM_PLAYBACK) {
1334 trace_snd_soc_dapm_connected(paths, stream);
2139 ret += scnprintf(buf + ret, PAGE_SIZE - ret, " stream %s %s\n",
2610 * stream or path usage.
2634 * stream or path usage.
2677 int dir = substream->stream;
3850 substream->stream = SNDRV_PCM_STREAM_CAPTURE;
3860 snd_soc_dai_activate(source, substream->stream);
3863 substream->stream = SNDRV_PCM_STREAM_PLAYBACK;
3873 snd_soc_dai_activate(sink, substream->stream);
3911 substream->stream = SNDRV_PCM_STREAM_CAPTURE;
3922 substream->stream = SNDRV_PCM_STREAM_PLAYBACK;
3949 int ret = 0, saved_stream = substream->stream;
3988 substream->stream = SNDRV_PCM_STREAM_CAPTURE;
3994 substream->stream = SNDRV_PCM_STREAM_PLAYBACK;
4000 substream->stream = SNDRV_PCM_STREAM_CAPTURE;
4003 snd_soc_dai_deactivate(source, substream->stream);
4007 substream->stream = SNDRV_PCM_STREAM_PLAYBACK;
4010 snd_soc_dai_deactivate(sink, substream->stream);
4027 substream->stream = saved_stream;
4294 /* ...find all widgets with the same stream and link them */
4398 static void soc_dapm_dai_stream_event(struct snd_soc_dai *dai, int stream,
4404 w = snd_soc_dai_get_widget(dai, stream);
4407 dapm_mark_dirty(w, "stream event");
4465 static void soc_dapm_stream_event(struct snd_soc_pcm_runtime *rtd, int stream,
4472 soc_dapm_dai_stream_event(dai, stream, event);
4478 * snd_soc_dapm_stream_event - send a stream event to the dapm core
4480 * @stream: stream name
4481 * @event: stream event
4483 * Sends a stream event to the dapm core. The core then makes any
4488 void snd_soc_dapm_stream_event(struct snd_soc_pcm_runtime *rtd, int stream,
4494 soc_dapm_stream_event(rtd, stream, event);
4498 void snd_soc_dapm_stream_stop(struct snd_soc_pcm_runtime *rtd, int stream)
4500 if (stream == SNDRV_PCM_STREAM_PLAYBACK) {
4502 /* powered down playback stream now */
4527 * a valid audio route and active audio stream.
4547 * a valid audio route and active audio stream.