Lines Matching refs:esai
1107 struct fsl_esai *esai = dev_get_drvdata(dev); in fsl_esai_runtime_resume() local
1114 ret = clk_prepare_enable(esai->coreclk); in fsl_esai_runtime_resume()
1117 if (!IS_ERR(esai->spbaclk)) { in fsl_esai_runtime_resume()
1118 ret = clk_prepare_enable(esai->spbaclk); in fsl_esai_runtime_resume()
1122 if (!IS_ERR(esai->extalclk)) { in fsl_esai_runtime_resume()
1123 ret = clk_prepare_enable(esai->extalclk); in fsl_esai_runtime_resume()
1127 if (!IS_ERR(esai->fsysclk)) { in fsl_esai_runtime_resume()
1128 ret = clk_prepare_enable(esai->fsysclk); in fsl_esai_runtime_resume()
1133 regcache_cache_only(esai->regmap, false); in fsl_esai_runtime_resume()
1135 ret = fsl_esai_register_restore(esai); in fsl_esai_runtime_resume()
1142 if (!IS_ERR(esai->fsysclk)) in fsl_esai_runtime_resume()
1143 clk_disable_unprepare(esai->fsysclk); in fsl_esai_runtime_resume()
1145 if (!IS_ERR(esai->extalclk)) in fsl_esai_runtime_resume()
1146 clk_disable_unprepare(esai->extalclk); in fsl_esai_runtime_resume()
1148 if (!IS_ERR(esai->spbaclk)) in fsl_esai_runtime_resume()
1149 clk_disable_unprepare(esai->spbaclk); in fsl_esai_runtime_resume()
1151 clk_disable_unprepare(esai->coreclk); in fsl_esai_runtime_resume()
1158 struct fsl_esai *esai = dev_get_drvdata(dev); in fsl_esai_runtime_suspend() local
1160 regcache_cache_only(esai->regmap, true); in fsl_esai_runtime_suspend()
1162 if (!IS_ERR(esai->fsysclk)) in fsl_esai_runtime_suspend()
1163 clk_disable_unprepare(esai->fsysclk); in fsl_esai_runtime_suspend()
1164 if (!IS_ERR(esai->extalclk)) in fsl_esai_runtime_suspend()
1165 clk_disable_unprepare(esai->extalclk); in fsl_esai_runtime_suspend()
1166 if (!IS_ERR(esai->spbaclk)) in fsl_esai_runtime_suspend()
1167 clk_disable_unprepare(esai->spbaclk); in fsl_esai_runtime_suspend()
1168 clk_disable_unprepare(esai->coreclk); in fsl_esai_runtime_suspend()