Lines Matching defs:runtime
90 hw = &pi->substream->runtime->hw;
195 err = snd_pcm_hw_constraint_integer(pi->substream->runtime,
322 struct snd_pcm_runtime *runtime;
347 if (!pi->substream || !pi->substream->runtime) {
352 runtime = pi->substream->runtime;
355 ((i2sdev->format != runtime->format)
356 || (i2sdev->rate != runtime->rate))) {
361 i2sdev->format = runtime->format;
362 i2sdev->rate = runtime->rate;
365 nperiods = pi->substream->runtime->periods;
384 offset = runtime->dma_addr;
404 switch (runtime->format) {
440 runtime->rate,
621 if (fc >= pi->substream->runtime->buffer_size)
622 fc %= pi->substream->runtime->buffer_size;
633 struct snd_pcm_runtime *runtime;
641 runtime = pi->substream->runtime;
652 if (++i >= runtime->periods) {
654 pi->frame_count += runtime->buffer_size;
663 nframes = i * runtime->period_size;