Lines Matching defs:runtime
130 struct snd_pcm_runtime *runtime = substream->runtime;
172 if (runtime->buffer_changed) {
173 ret = create_page_table(component, substream, runtime->dma_area,
174 runtime->dma_bytes);
407 host = bytes_to_frames(substream->runtime,
409 dai = bytes_to_frames(substream->runtime,
421 struct snd_pcm_runtime *runtime = substream->runtime;
442 /* set runtime config */
443 runtime->hw.info = ops->hw_info; /* platform-specific */
445 /* set any runtime constraints based on topology */
446 runtime->hw.formats = le64_to_cpu(caps->formats);
447 runtime->hw.period_bytes_min = le32_to_cpu(caps->period_size_min);
448 runtime->hw.period_bytes_max = le32_to_cpu(caps->period_size_max);
449 runtime->hw.periods_min = le32_to_cpu(caps->periods_min);
450 runtime->hw.periods_max = le32_to_cpu(caps->periods_max);
456 runtime->hw.buffer_bytes_max = le32_to_cpu(caps->buffer_size_max);
459 runtime->hw.period_bytes_min,
460 runtime->hw.period_bytes_max);
462 runtime->hw.periods_min,
463 runtime->hw.periods_max);
465 runtime->hw.buffer_bytes_max);