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()
428 clk_rate = clk_get_rate(sai->mclk_clk[id]); in fsl_sai_set_bclk()
584 ret = clk_prepare_enable(sai->mclk_clk[sai->mclk_id[tx]]); in fsl_sai_hw_params()
700 clk_disable_unprepare(sai->mclk_clk[sai->mclk_id[tx]]); in fsl_sai_hw_free()
1332 sai->mclk_clk[i] = devm_clk_get(dev, tmp); in fsl_sai_probe()
1333 if (IS_ERR(sai->mclk_clk[i])) { in fsl_sai_probe()
1335 i, PTR_ERR(sai->mclk_clk[i])); in fsl_sai_probe()
1336 sai->mclk_clk[i] = NULL; in fsl_sai_probe()
1341 sai->mclk_clk[0] = sai->mclk_clk[1]; in fsl_sai_probe()
1343 sai->mclk_clk[0] = sai->bus_clk; in fsl_sai_probe()
1602 clk_disable_unprepare(sai->mclk_clk[sai->mclk_id[0]]); in fsl_sai_runtime_suspend()
1605 clk_disable_unprepare(sai->mclk_clk[sai->mclk_id[1]]); in fsl_sai_runtime_suspend()
1630 ret = clk_prepare_enable(sai->mclk_clk[sai->mclk_id[1]]); in fsl_sai_runtime_resume()
1636 ret = clk_prepare_enable(sai->mclk_clk[sai->mclk_id[0]]); in fsl_sai_runtime_resume()
1660 clk_disable_unprepare(sai->mclk_clk[sai->mclk_id[0]]); in fsl_sai_runtime_resume()
1663 clk_disable_unprepare(sai->mclk_clk[sai->mclk_id[1]]); in fsl_sai_runtime_resume()