Lines Matching refs:runtime

229 	struct snd_pcm_runtime *runtime = substream->runtime;  in cz_da7219_play_startup()  local
238 runtime->hw.channels_max = DUAL_CHANNEL; in cz_da7219_play_startup()
239 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in cz_da7219_play_startup()
241 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in cz_da7219_play_startup()
250 struct snd_pcm_runtime *runtime = substream->runtime; in cz_da7219_cap_startup() local
259 runtime->hw.channels_max = DUAL_CHANNEL; in cz_da7219_cap_startup()
260 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in cz_da7219_cap_startup()
262 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in cz_da7219_cap_startup()
272 struct snd_pcm_runtime *runtime = substream->runtime; in cz_max_startup() local
281 runtime->hw.channels_max = DUAL_CHANNEL; in cz_max_startup()
282 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in cz_max_startup()
284 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in cz_max_startup()
293 struct snd_pcm_runtime *runtime = substream->runtime; in cz_dmic0_startup() local
302 runtime->hw.channels_max = DUAL_CHANNEL; in cz_dmic0_startup()
303 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in cz_dmic0_startup()
305 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in cz_dmic0_startup()
314 struct snd_pcm_runtime *runtime = substream->runtime; in cz_dmic1_startup() local
323 runtime->hw.channels_max = DUAL_CHANNEL; in cz_dmic1_startup()
324 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in cz_dmic1_startup()
326 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in cz_dmic1_startup()
341 struct snd_pcm_runtime *runtime = substream->runtime; in cz_rt5682_play_startup() local
350 runtime->hw.channels_max = DUAL_CHANNEL; in cz_rt5682_play_startup()
351 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in cz_rt5682_play_startup()
353 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in cz_rt5682_play_startup()
362 struct snd_pcm_runtime *runtime = substream->runtime; in cz_rt5682_cap_startup() local
371 runtime->hw.channels_max = DUAL_CHANNEL; in cz_rt5682_cap_startup()
372 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in cz_rt5682_cap_startup()
374 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in cz_rt5682_cap_startup()
384 struct snd_pcm_runtime *runtime = substream->runtime; in cz_rt5682_max_startup() local
393 runtime->hw.channels_max = DUAL_CHANNEL; in cz_rt5682_max_startup()
394 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in cz_rt5682_max_startup()
396 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in cz_rt5682_max_startup()
405 struct snd_pcm_runtime *runtime = substream->runtime; in cz_rt5682_dmic0_startup() local
414 runtime->hw.channels_max = DUAL_CHANNEL; in cz_rt5682_dmic0_startup()
415 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in cz_rt5682_dmic0_startup()
417 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in cz_rt5682_dmic0_startup()
426 struct snd_pcm_runtime *runtime = substream->runtime; in cz_rt5682_dmic1_startup() local
435 runtime->hw.channels_max = DUAL_CHANNEL; in cz_rt5682_dmic1_startup()
436 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in cz_rt5682_dmic1_startup()
438 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in cz_rt5682_dmic1_startup()