Lines Matching defs:runtime
99 struct snd_pcm_runtime *runtime = substream->runtime;
100 int channels = runtime->channels;
103 snd_pcm_uframes_t period_size = runtime->period_size;
126 struct snd_pcm_runtime *runtime = substream->runtime;
130 err = lx_stream_set_format(chip, runtime, 0, is_capture);
205 struct snd_pcm_runtime *runtime = substream->runtime;
213 runtime->hw = lx_caps;
217 err = snd_pcm_hw_constraint_integer(runtime,
227 err = snd_pcm_hw_constraint_single(runtime, SNDRV_PCM_HW_PARAM_RATE,
236 err = snd_pcm_hw_constraint_minmax(runtime,
246 snd_pcm_hw_constraint_step(runtime, 0,
253 runtime->private_data = chip;
279 pos = lx_stream->frame_pos * substream->runtime->period_size;
329 if (chip->board_sample_rate != substream->runtime->rate) {
331 chip->board_sample_rate = substream->runtime->rate;
413 const u32 channels = substream->runtime->channels;
415 const u32 period_size = substream->runtime->period_size;
416 const u32 periods = substream->runtime->periods;