Lines Matching refs:dai
2633 static int tscs454_set_sysclk(struct snd_soc_dai *dai,
2636 struct snd_soc_component *component = dai->component;
2646 if (bclk_dai != dai->id)
2653 static int tscs454_set_bclk_ratio(struct snd_soc_dai *dai,
2658 struct snd_soc_component *component = dai->component;
2663 dai->id, ratio);
2665 switch (dai->id) {
2884 static int tscs454_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt)
2886 struct snd_soc_component *component = dai->component;
2888 struct aif *aif = &tscs454->aifs[dai->id];
2895 ret = set_aif_format_from_fmt(component, dai->id, fmt);
2899 ret = set_aif_clock_format_from_fmt(component, dai->id, fmt);
2906 static int tscs454_dai1_set_tdm_slot(struct snd_soc_dai *dai,
2910 struct snd_soc_component *component = dai->component;
2963 static int tscs454_dai23_set_tdm_slot(struct snd_soc_dai *dai,
2967 struct snd_soc_component *component = dai->component;
2981 switch (dai->id) {
2991 dai->id, ret);
3171 struct snd_soc_dai *dai)
3173 struct snd_soc_component *component = dai->component;
3176 struct aif *aif = &tscs454->aifs[dai->id];
3237 struct snd_soc_dai *dai)
3239 struct snd_soc_component *component = dai->component;
3241 struct aif *aif = &tscs454->aifs[dai->id];
3248 struct snd_soc_dai *dai)
3251 struct snd_soc_component *component = dai->component;
3253 struct aif *aif = &tscs454->aifs[dai->id];