Lines Matching refs:substream
58 static int sdm845_slim_snd_hw_params(struct snd_pcm_substream *substream,
61 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
72 substream->stream);
87 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
98 static int sdm845_tdm_snd_hw_params(struct snd_pcm_substream *substream,
101 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
118 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
183 static int sdm845_snd_hw_params(struct snd_pcm_substream *substream,
186 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
211 ret = sdm845_tdm_snd_hw_params(substream, params);
214 ret = sdm845_slim_snd_hw_params(substream, params);
330 static int sdm845_snd_startup(struct snd_pcm_substream *substream)
334 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
422 static void sdm845_snd_shutdown(struct snd_pcm_substream *substream)
424 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
468 static int sdm845_snd_prepare(struct snd_pcm_substream *substream)
470 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
507 static int sdm845_snd_hw_free(struct snd_pcm_substream *substream)
509 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);