Lines Matching defs:runtime
507 ret = !!(io->substream && io->substream->runtime);
522 struct snd_pcm_runtime *runtime = substream->runtime;
528 io->buff_sample_capa = fsi_frame2sample(fsi, runtime->buffer_size);
530 io->period_samples = fsi_frame2sample(fsi, runtime->period_size);
532 io->sample_width = samples_to_bytes(runtime, 1);
1051 struct snd_pcm_runtime *runtime = substream->runtime;
1055 if (io->period_pos >= runtime->periods) {
1119 struct snd_pcm_runtime *runtime = io->substream->runtime;
1121 return runtime->dma_area +
1122 samples_to_bytes(runtime, io->buff_sample_pos);
1312 substream->runtime->dma_addr,
1737 struct snd_pcm_runtime *runtime = substream->runtime;
1742 ret = snd_pcm_hw_constraint_integer(runtime,