Lines Matching defs:substream
53 struct snd_pcm_substream *substream)
55 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
58 prtd = snd_soc_dai_get_dma_data(snd_soc_rtd_to_cpu(rtd, 0), substream);
61 if (snd_pcm_running(substream))
63 substream->stream == SNDRV_PCM_STREAM_PLAYBACK
69 snd_pcm_stop_xrun(substream);
77 static int atmel_pcm_configure_dma(struct snd_pcm_substream *substream,
80 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
85 prtd = snd_soc_dai_get_dma_data(snd_soc_rtd_to_cpu(rtd, 0), substream);
88 ret = snd_hwparams_to_dma_slave_config(substream, params, slave_config);