Lines Matching defs:runtime
88 struct snd_pcm_runtime *runtime,
92 struct snd_pcm_hardware *hw = &runtime->hw;
120 snd_pcm_limit_hw_rates(runtime);
128 struct snd_pcm_runtime *runtime = substream->runtime;
129 struct snd_pcm_hardware *hw = &runtime->hw;
145 err = limit_channels_and_rates(dice, substream->runtime, dir,
150 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE,
155 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS,
161 return amdtp_am824_add_pcm_hw_constraints(stream, runtime);
216 substream->runtime->hw.rate_min = rate;
217 substream->runtime->hw.rate_max = rate;
226 err = snd_pcm_hw_constraint_minmax(substream->runtime,
234 err = snd_pcm_hw_constraint_minmax(substream->runtime,
269 if (substream->runtime->status->state == SNDRV_PCM_STATE_OPEN) {
296 if (substream->runtime->status->state != SNDRV_PCM_STATE_OPEN)