Lines Matching refs:dai
71 * No dai-link level and master setting was not found from
146 static int asoc_simple_clk_enable(struct asoc_simple_dai *dai)
148 if (dai)
149 return clk_prepare_enable(dai->clk);
154 static void asoc_simple_clk_disable(struct asoc_simple_dai *dai)
156 if (dai)
157 clk_disable_unprepare(dai->clk);
169 * Parse dai->sysclk come from "clocks = <&xxx>"
302 static int asoc_simple_init_dai(struct snd_soc_dai *dai,
311 ret = snd_soc_dai_set_sysclk(dai, 0, simple_dai->sysclk,
314 dev_err(dai->dev, "simple-card: set_sysclk error\n");
320 ret = snd_soc_dai_set_tdm_slot(dai,
326 dev_err(dai->dev, "simple-card: set_tdm_slot error\n");