Lines Matching defs:runtime
506 ret = !!(io->substream && io->substream->runtime);
521 struct snd_pcm_runtime *runtime = substream->runtime;
527 io->buff_sample_capa = fsi_frame2sample(fsi, runtime->buffer_size);
529 io->period_samples = fsi_frame2sample(fsi, runtime->period_size);
531 io->sample_width = samples_to_bytes(runtime, 1);
1050 struct snd_pcm_runtime *runtime = substream->runtime;
1054 if (io->period_pos >= runtime->periods) {
1118 struct snd_pcm_runtime *runtime = io->substream->runtime;
1120 return runtime->dma_area +
1121 samples_to_bytes(runtime, io->buff_sample_pos);
1311 substream->runtime->dma_addr,
1753 struct snd_pcm_runtime *runtime = substream->runtime;
1758 ret = snd_pcm_hw_constraint_integer(runtime,