Lines Matching refs:mclk_clk
223 fsl_asoc_reparent_pll_clocks(dai->dev, sai->mclk_clk[clk_id], in fsl_sai_set_mclk_rate()
226 ret = clk_set_rate(sai->mclk_clk[clk_id], freq); in fsl_sai_set_mclk_rate()
248 if (IS_ERR_OR_NULL(sai->mclk_clk[clk_id])) { in fsl_sai_set_dai_sysclk()
429 clk_rate = clk_get_rate(sai->mclk_clk[id]); in fsl_sai_set_bclk()
586 ret = clk_prepare_enable(sai->mclk_clk[sai->mclk_id[tx]]); in fsl_sai_hw_params()
702 clk_disable_unprepare(sai->mclk_clk[sai->mclk_id[tx]]); in fsl_sai_hw_free()
1340 sai->mclk_clk[i] = devm_clk_get(dev, tmp); in fsl_sai_probe()
1341 if (IS_ERR(sai->mclk_clk[i])) { in fsl_sai_probe()
1343 i, PTR_ERR(sai->mclk_clk[i])); in fsl_sai_probe()
1344 sai->mclk_clk[i] = NULL; in fsl_sai_probe()
1349 sai->mclk_clk[0] = sai->mclk_clk[1]; in fsl_sai_probe()
1351 sai->mclk_clk[0] = sai->bus_clk; in fsl_sai_probe()
1640 clk_disable_unprepare(sai->mclk_clk[sai->mclk_id[0]]); in fsl_sai_runtime_suspend()
1643 clk_disable_unprepare(sai->mclk_clk[sai->mclk_id[1]]); in fsl_sai_runtime_suspend()
1668 ret = clk_prepare_enable(sai->mclk_clk[sai->mclk_id[1]]); in fsl_sai_runtime_resume()
1674 ret = clk_prepare_enable(sai->mclk_clk[sai->mclk_id[0]]); in fsl_sai_runtime_resume()
1702 clk_disable_unprepare(sai->mclk_clk[sai->mclk_id[0]]); in fsl_sai_runtime_resume()
1705 clk_disable_unprepare(sai->mclk_clk[sai->mclk_id[1]]); in fsl_sai_runtime_resume()