Lines Matching refs:substream
194 static int mop500_ab8500_startup(struct snd_pcm_substream *substream) in mop500_ab8500_startup() argument
196 struct snd_soc_pcm_runtime *rtd = substream->private_data; in mop500_ab8500_startup()
203 static void mop500_ab8500_shutdown(struct snd_pcm_substream *substream) in mop500_ab8500_shutdown() argument
205 struct snd_soc_pcm_runtime *rtd = substream->private_data; in mop500_ab8500_shutdown()
211 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in mop500_ab8500_shutdown()
217 static int mop500_ab8500_hw_params(struct snd_pcm_substream *substream, in mop500_ab8500_hw_params() argument
220 struct snd_soc_pcm_runtime *rtd = substream->private_data; in mop500_ab8500_hw_params()
236 substream->pcm->name, in mop500_ab8500_hw_params()
237 substream->pcm->id, in mop500_ab8500_hw_params()
238 substream->name, in mop500_ab8500_hw_params()
239 substream->number); in mop500_ab8500_hw_params()
299 is_playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in mop500_ab8500_hw_params()
342 static int mop500_ab8500_hw_free(struct snd_pcm_substream *substream) in mop500_ab8500_hw_free() argument
344 struct snd_soc_pcm_runtime *rtd = substream->private_data; in mop500_ab8500_hw_free()