Lines Matching defs:runtime
182 * @runtime: the PCM substream runtime
185 struct snd_pcm_runtime *runtime)
187 struct snd_pcm_hardware *hw = &runtime->hw;
236 err = snd_pcm_hw_constraint_minmax(runtime,
252 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_PERIOD_SIZE,
258 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_BUFFER_SIZE,
603 if (ptr >= pcm->runtime->buffer_size)
604 ptr -= pcm->runtime->buffer_size;
608 if (s->pcm_period_pointer >= pcm->runtime->period_size) {
609 s->pcm_period_pointer -= pcm->runtime->period_size;
614 if (!pcm->runtime->no_period_wakeup) {
1124 pcm->runtime->delay = compute_pcm_extra_delay(s, desc, count);
1170 need_hw_irq = !pcm || !pcm->runtime->no_period_wakeup;
1765 // for runtime of PCM substream in the interval equivalent to the size of PCM buffer. It