Lines Matching refs:esai
1109 struct fsl_esai *esai = dev_get_drvdata(dev); in fsl_esai_runtime_resume() local
1116 ret = clk_prepare_enable(esai->coreclk); in fsl_esai_runtime_resume()
1119 if (!IS_ERR(esai->spbaclk)) { in fsl_esai_runtime_resume()
1120 ret = clk_prepare_enable(esai->spbaclk); in fsl_esai_runtime_resume()
1124 if (!IS_ERR(esai->extalclk)) { in fsl_esai_runtime_resume()
1125 ret = clk_prepare_enable(esai->extalclk); in fsl_esai_runtime_resume()
1129 if (!IS_ERR(esai->fsysclk)) { in fsl_esai_runtime_resume()
1130 ret = clk_prepare_enable(esai->fsysclk); in fsl_esai_runtime_resume()
1135 regcache_cache_only(esai->regmap, false); in fsl_esai_runtime_resume()
1137 ret = fsl_esai_register_restore(esai); in fsl_esai_runtime_resume()
1144 if (!IS_ERR(esai->fsysclk)) in fsl_esai_runtime_resume()
1145 clk_disable_unprepare(esai->fsysclk); in fsl_esai_runtime_resume()
1147 if (!IS_ERR(esai->extalclk)) in fsl_esai_runtime_resume()
1148 clk_disable_unprepare(esai->extalclk); in fsl_esai_runtime_resume()
1150 if (!IS_ERR(esai->spbaclk)) in fsl_esai_runtime_resume()
1151 clk_disable_unprepare(esai->spbaclk); in fsl_esai_runtime_resume()
1153 clk_disable_unprepare(esai->coreclk); in fsl_esai_runtime_resume()
1160 struct fsl_esai *esai = dev_get_drvdata(dev); in fsl_esai_runtime_suspend() local
1162 regcache_cache_only(esai->regmap, true); in fsl_esai_runtime_suspend()
1164 if (!IS_ERR(esai->fsysclk)) in fsl_esai_runtime_suspend()
1165 clk_disable_unprepare(esai->fsysclk); in fsl_esai_runtime_suspend()
1166 if (!IS_ERR(esai->extalclk)) in fsl_esai_runtime_suspend()
1167 clk_disable_unprepare(esai->extalclk); in fsl_esai_runtime_suspend()
1168 if (!IS_ERR(esai->spbaclk)) in fsl_esai_runtime_suspend()
1169 clk_disable_unprepare(esai->spbaclk); in fsl_esai_runtime_suspend()
1170 clk_disable_unprepare(esai->coreclk); in fsl_esai_runtime_suspend()