Lines Matching defs:substream
30 struct snd_pcm_substream *substream;
50 struct snd_pcm_substream *substream)
52 struct snd_pcm_runtime *runtime = substream->runtime;
58 snd_soc_set_runtime_hwparams(substream, &sprd_pcm_hardware);
96 dma_private->substream = substream;
113 struct snd_pcm_substream *substream)
115 struct snd_pcm_runtime *runtime = substream->runtime;
135 struct snd_pcm_substream *substream = dma_private->substream;
137 snd_pcm_period_elapsed(substream);
140 static void sprd_pcm_release_dma_channel(struct snd_pcm_substream *substream)
142 struct snd_pcm_runtime *runtime = substream->runtime;
157 struct snd_pcm_substream *substream,
160 struct snd_pcm_runtime *runtime = substream->runtime;
179 sprd_pcm_release_dma_channel(substream);
188 struct snd_pcm_substream *substream,
191 struct snd_pcm_runtime *runtime = substream->runtime;
193 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
198 int is_playback = substream->stream == SNDRV_PCM_STREAM_PLAYBACK;
203 dma_params = snd_soc_dai_get_dma_data(snd_soc_rtd_to_cpu(rtd, 0), substream);
213 substream, channels);
301 sprd_pcm_release_dma_channel(substream);
306 struct snd_pcm_substream *substream)
308 sprd_pcm_release_dma_channel(substream);
314 struct snd_pcm_substream *substream, int cmd)
317 substream->runtime->private_data;
378 struct snd_pcm_substream *substream)
380 struct snd_pcm_runtime *runtime = substream->runtime;