Lines Matching defs:runtime
45 struct snd_pcm_runtime *runtime = substream->runtime;
53 snd_pcm_hw_constraint_step(substream->runtime, 0,
58 ret = snd_pcm_hw_constraint_integer(runtime,
157 struct snd_pcm_runtime * const runtime = substream->runtime;
165 unsigned int rate = runtime->rate;
188 ((runtime->period_size * 1000) / rate <= 10))
195 counter = runtime->period_size;
203 fs = afe->irq_fs(substream, runtime->rate);
213 if (runtime->stop_threshold != ~(0U))
223 int avail = snd_pcm_capture_avail(runtime);
225 if (avail >= runtime->buffer_size)
237 if (runtime->stop_threshold != ~(0U))
282 struct snd_pcm_runtime *runtime = substream->runtime;
284 if ((runtime->period_size * 1000) / runtime->rate > 10)
294 struct snd_pcm_runtime * const runtime = substream->runtime;
301 unsigned int counter = runtime->period_size;
316 fs = afe->irq_fs(substream, runtime->rate);