Lines Matching defs:substream
46 struct snd_pcm_substream *substream;
115 snd_pcm_period_elapsed(cd->substream);
128 snd_pcm_period_elapsed(cd->substream);
193 struct snd_pcm_substream *substream,
196 struct snd_pcm_runtime *runtime = substream->runtime;
200 stype = substream->stream;
201 pcd = to_dmadata(substream, component);
218 pcd->substream = substream;
232 struct snd_pcm_substream *substream)
234 struct au1xpsc_audio_dmadata *pcd = to_dmadata(substream, component);
238 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
250 struct snd_pcm_substream *substream, int cmd)
252 u32 c = to_dmadata(substream, component)->ddma_chan;
271 struct snd_pcm_substream *substream)
273 return bytes_to_frames(substream->runtime,
274 to_dmadata(substream, component)->pos);
278 struct snd_pcm_substream *substream)
280 struct au1xpsc_audio_dmadata *pcd = to_dmadata(substream, component);
281 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
282 int stype = substream->stream, *dmaids;
284 dmaids = snd_soc_dai_get_dma_data(snd_soc_rtd_to_cpu(rtd, 0), substream);
290 snd_soc_set_runtime_hwparams(substream, &au1xpsc_pcm_hardware);
295 struct snd_pcm_substream *substream)
297 au1x_pcm_dbdma_free(to_dmadata(substream, component));