Lines Matching defs:runtime
101 struct snd_pcm_runtime *runtime = substream->runtime;
102 int channels = runtime->channels;
105 snd_pcm_uframes_t period_size = runtime->period_size;
128 struct snd_pcm_runtime *runtime = substream->runtime;
132 err = lx_stream_set_format(chip, runtime, 0, is_capture);
207 struct snd_pcm_runtime *runtime = substream->runtime;
215 runtime->hw = lx_caps;
219 err = snd_pcm_hw_constraint_integer(runtime,
229 err = snd_pcm_hw_constraint_single(runtime, SNDRV_PCM_HW_PARAM_RATE,
238 err = snd_pcm_hw_constraint_minmax(runtime,
248 snd_pcm_hw_constraint_step(runtime, 0,
255 runtime->private_data = chip;
281 pos = lx_stream->frame_pos * substream->runtime->period_size;
331 if (chip->board_sample_rate != substream->runtime->rate) {
333 chip->board_sample_rate = substream->runtime->rate;
415 const u32 channels = substream->runtime->channels;
417 const u32 period_size = substream->runtime->period_size;
418 const u32 periods = substream->runtime->periods;