Lines Matching defs:runtime
197 struct snd_soc_pcm_runtime *runtime = snd_soc_substream_to_rtd(substream);
201 for_each_rtd_codec_dais(runtime, j, codec_dai) {
206 dev_err(runtime->dev, "DEV0 TDM slot err:%d\n", ret);
213 dev_err(runtime->dev, "DEV1 TDM slot err:%d\n", ret);
221 dev_err(runtime->dev,
230 dev_err(runtime->dev,
482 struct snd_pcm_runtime *runtime = substream->runtime;
491 runtime->hw.channels_max = DUAL_CHANNEL;
492 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS,
495 runtime->hw.formats = SNDRV_PCM_FMTBIT_S16_LE;
496 snd_pcm_hw_constraint_msbits(runtime, 0, 16, 16);
498 snd_pcm_hw_constraint_list(runtime, 0,
528 struct snd_pcm_runtime *runtime = substream->runtime;
530 runtime->hw.channels_min = runtime->hw.channels_max = QUAD_CHANNEL;
531 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS,
534 return snd_pcm_hw_constraint_list(substream->runtime, 0,
561 substream->runtime->hw.channels_max = 1;
562 snd_pcm_hw_constraint_list(substream->runtime, 0,
566 return snd_pcm_hw_constraint_list(substream->runtime, 0,