Lines Matching refs:dai
1573 struct snd_pcm_hw_params *params, struct snd_soc_dai *dai)
1575 struct snd_soc_component *component = dai->component;
1584 snd_soc_dai_set_pll(dai, 0, RT1011_PLL1_S_BCLK,
1586 snd_soc_dai_set_sysclk(dai, RT1011_FS_SYS_PRE_S_PLL1,
1601 bclk_ms, pre_div, dai->id);
1604 rt1011->lrck, pre_div, dai->id);
1641 switch (dai->id) {
1654 dev_err(component->dev, "Invalid dai->id: %d\n", dai->id);
1664 static int rt1011_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt)
1666 struct snd_soc_component *component = dai->component;
1710 switch (dai->id) {
1721 dev_err(component->dev, "Invalid dai->id: %d\n", dai->id);
1844 static int rt1011_set_tdm_slot(struct snd_soc_dai *dai,
1847 struct snd_soc_component *component = dai->component;