Lines Matching defs:cpu_dai
30 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0);
35 switch (cpu_dai->id) {
38 snd_soc_dai_set_fmt(cpu_dai, SND_SOC_DAIFMT_BP_FP);
58 dp_pcm_id = cpu_dai->id - DISPLAY_PORT_RX_1 + 1;
74 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0);
76 struct sdw_stream_runtime *sruntime = pdata->sruntime[cpu_dai->id];
78 pdata->sruntime[cpu_dai->id] = NULL;
85 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0);
96 switch (cpu_dai->id) {
115 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0);
118 return qcom_snd_sdw_hw_params(substream, params, &pdata->sruntime[cpu_dai->id]);
124 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0);
126 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id];
129 &data->stream_prepared[cpu_dai->id]);
136 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0);
137 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id];
140 &data->stream_prepared[cpu_dai->id]);