Home
last modified time | relevance | path

Searched refs:dai_wclk (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/sound/soc/zte/
Dzx-i2s.c94 struct clk *dai_wclk; member
278 ret = clk_set_rate(i2s->dai_wclk, in zx_i2s_hw_params()
334 ret = clk_prepare_enable(zx_i2s->dai_wclk); in zx_i2s_startup()
340 clk_disable_unprepare(zx_i2s->dai_wclk); in zx_i2s_startup()
352 clk_disable_unprepare(zx_i2s->dai_wclk); in zx_i2s_shutdown()
397 zx_i2s->dai_wclk = devm_clk_get(&pdev->dev, "wclk"); in zx_i2s_probe()
398 if (IS_ERR(zx_i2s->dai_wclk)) { in zx_i2s_probe()
400 return PTR_ERR(zx_i2s->dai_wclk); in zx_i2s_probe()
Dzx-tdm.c77 struct clk *dai_wclk; member
224 ret = clk_set_rate(tdm->dai_wclk, in zx_tdm_hw_params()
288 ret = clk_prepare_enable(zx_tdm->dai_wclk); in zx_tdm_startup()
294 clk_disable_unprepare(zx_tdm->dai_wclk); in zx_tdm_startup()
307 clk_disable_unprepare(zx_tdm->dai_wclk); in zx_tdm_shutdown()
388 zx_tdm->dai_wclk = devm_clk_get(&pdev->dev, "wclk"); in zx_tdm_probe()
389 if (IS_ERR(zx_tdm->dai_wclk)) { in zx_tdm_probe()
391 return PTR_ERR(zx_tdm->dai_wclk); in zx_tdm_probe()