Lines Matching refs:stream
163 bool snd_soc_dai_stream_valid(struct snd_soc_dai *dai, int stream);
166 int stream, int action);
168 int stream)
170 snd_soc_dai_action(dai, stream, 1);
173 int stream)
175 snd_soc_dai_action(dai, stream, -1);
243 void *stream, int direction);
250 int (*mute_stream)(struct snd_soc_dai *dai, int mute, int stream);
399 snd_soc_dai_get_pcm_stream(const struct snd_soc_dai *dai, int stream)
401 return (stream == SNDRV_PCM_STREAM_PLAYBACK) ?
407 struct snd_soc_dai *dai, int stream)
409 return (stream == SNDRV_PCM_STREAM_PLAYBACK) ?
416 return (ss->stream == SNDRV_PCM_STREAM_PLAYBACK) ?
424 if (ss->stream == SNDRV_PCM_STREAM_PLAYBACK)
449 * snd_soc_dai_set_stream() - Configures a DAI for stream operation
451 * @stream: STREAM (opaque structure depending on DAI type)
454 * the ASoC stream direction to configure sink/source ports.
457 * This should be invoked with NULL to clear the stream set previously.
461 void *stream, int direction)
464 return dai->driver->ops->set_stream(dai, stream, direction);
470 * snd_soc_dai_get_stream() - Retrieves stream from DAI
477 * Returns pointer to stream or an ERR_PTR value, e.g.
490 snd_soc_dai_stream_active(struct snd_soc_dai *dai, int stream)
492 return dai->stream_active[stream];