Lines Matching defs:substream
92 struct snd_pcm_substream *substream, int cmd)
94 struct loongson_runtime_data *prtd = substream->runtime->private_data;
95 struct device *dev = substream->pcm->card->dev;
136 struct snd_pcm_substream *substream,
139 struct snd_pcm_runtime *runtime = substream->runtime;
140 struct device *dev = substream->pcm->card->dev;
160 snd_pcm_set_runtime_buffer(substream, &substream->dma_buffer);
179 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
200 struct snd_pcm_substream *substream)
202 struct snd_pcm_runtime *runtime = substream->runtime;
219 struct snd_pcm_substream *substream = devid;
221 snd_pcm_period_elapsed(substream);
226 struct snd_pcm_substream *substream)
228 struct snd_pcm_runtime *runtime = substream->runtime;
229 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
230 struct snd_card *card = substream->pcm->card;
244 snd_pcm_hw_constraint_integer(substream->runtime,
246 snd_soc_set_runtime_hwparams(substream, &ls_pcm_hardware);
270 dma_data = snd_soc_dai_get_dma_data(snd_soc_rtd_to_cpu(rtd, 0), substream);
273 substream->runtime->private_data = prtd;
286 struct snd_pcm_substream *substream)
288 struct snd_card *card = substream->pcm->card;
289 struct loongson_runtime_data *prtd = substream->runtime->private_data;
302 struct snd_pcm_substream *substream,
306 substream->dma_buffer.addr >> PAGE_SHIFT,
314 struct snd_pcm_substream *substream;
320 substream = rtd->pcm->streams[i].substream;
321 if (!substream)
325 substream);
329 substream);