Lines Matching refs:esai

1125 	struct fsl_esai *esai = dev_get_drvdata(dev);  in fsl_esai_runtime_resume()  local
1132 ret = clk_prepare_enable(esai->coreclk); in fsl_esai_runtime_resume()
1135 if (!IS_ERR(esai->spbaclk)) { in fsl_esai_runtime_resume()
1136 ret = clk_prepare_enable(esai->spbaclk); in fsl_esai_runtime_resume()
1140 if (!IS_ERR(esai->extalclk)) { in fsl_esai_runtime_resume()
1141 ret = clk_prepare_enable(esai->extalclk); in fsl_esai_runtime_resume()
1145 if (!IS_ERR(esai->fsysclk)) { in fsl_esai_runtime_resume()
1146 ret = clk_prepare_enable(esai->fsysclk); in fsl_esai_runtime_resume()
1151 regcache_cache_only(esai->regmap, false); in fsl_esai_runtime_resume()
1153 ret = fsl_esai_register_restore(esai); in fsl_esai_runtime_resume()
1160 if (!IS_ERR(esai->fsysclk)) in fsl_esai_runtime_resume()
1161 clk_disable_unprepare(esai->fsysclk); in fsl_esai_runtime_resume()
1163 if (!IS_ERR(esai->extalclk)) in fsl_esai_runtime_resume()
1164 clk_disable_unprepare(esai->extalclk); in fsl_esai_runtime_resume()
1166 if (!IS_ERR(esai->spbaclk)) in fsl_esai_runtime_resume()
1167 clk_disable_unprepare(esai->spbaclk); in fsl_esai_runtime_resume()
1169 clk_disable_unprepare(esai->coreclk); in fsl_esai_runtime_resume()
1176 struct fsl_esai *esai = dev_get_drvdata(dev); in fsl_esai_runtime_suspend() local
1178 regcache_cache_only(esai->regmap, true); in fsl_esai_runtime_suspend()
1180 if (!IS_ERR(esai->fsysclk)) in fsl_esai_runtime_suspend()
1181 clk_disable_unprepare(esai->fsysclk); in fsl_esai_runtime_suspend()
1182 if (!IS_ERR(esai->extalclk)) in fsl_esai_runtime_suspend()
1183 clk_disable_unprepare(esai->extalclk); in fsl_esai_runtime_suspend()
1184 if (!IS_ERR(esai->spbaclk)) in fsl_esai_runtime_suspend()
1185 clk_disable_unprepare(esai->spbaclk); in fsl_esai_runtime_suspend()
1186 clk_disable_unprepare(esai->coreclk); in fsl_esai_runtime_suspend()