Lines Matching refs:dai
1527 struct snd_pcm_hw_params *params, struct snd_soc_dai *dai)
1529 struct snd_soc_component *component = dai->component;
1538 snd_soc_dai_set_pll(dai, 0, RT1011_PLL1_S_BCLK,
1540 snd_soc_dai_set_sysclk(dai, RT1011_FS_SYS_PRE_S_PLL1,
1555 bclk_ms, pre_div, dai->id);
1558 rt1011->lrck, pre_div, dai->id);
1595 switch (dai->id) {
1608 dev_err(component->dev, "Invalid dai->id: %d\n", dai->id);
1618 static int rt1011_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt)
1620 struct snd_soc_component *component = dai->component;
1664 switch (dai->id) {
1675 dev_err(component->dev, "Invalid dai->id: %d\n", dai->id);
1797 static int rt1011_set_tdm_slot(struct snd_soc_dai *dai,
1800 struct snd_soc_component *component = dai->component;