Lines Matching refs:arch_clkdm
40 static struct clkdm_ops *arch_clkdm; variable
205 if (!arch_clkdm || !arch_clkdm->clkdm_add_wkdep) in _clkdm_add_wkdep()
219 ret = arch_clkdm->clkdm_add_wkdep(clkdm1, clkdm2); in _clkdm_add_wkdep()
248 if (!arch_clkdm || !arch_clkdm->clkdm_del_wkdep) in _clkdm_del_wkdep()
262 ret = arch_clkdm->clkdm_del_wkdep(clkdm1, clkdm2); in _clkdm_del_wkdep()
293 if (!arch_clkdm || !arch_clkdm->clkdm_add_sleepdep) in _clkdm_add_sleepdep()
307 ret = arch_clkdm->clkdm_add_sleepdep(clkdm1, clkdm2); in _clkdm_add_sleepdep()
338 if (!arch_clkdm || !arch_clkdm->clkdm_del_sleepdep) in _clkdm_del_sleepdep()
352 ret = arch_clkdm->clkdm_del_sleepdep(clkdm1, clkdm2); in _clkdm_del_sleepdep()
375 if (arch_clkdm) in clkdm_register_platform_funcs()
378 arch_clkdm = co; in clkdm_register_platform_funcs()
397 if (!arch_clkdm) in clkdm_register_clkdms()
667 if (!arch_clkdm || !arch_clkdm->clkdm_read_wkdep) in clkdm_read_wkdep()
677 return arch_clkdm->clkdm_read_wkdep(clkdm1, clkdm2); in clkdm_read_wkdep()
695 if (!arch_clkdm || !arch_clkdm->clkdm_clear_all_wkdeps) in clkdm_clear_all_wkdeps()
698 return arch_clkdm->clkdm_clear_all_wkdeps(clkdm); in clkdm_clear_all_wkdeps()
791 if (!arch_clkdm || !arch_clkdm->clkdm_read_sleepdep) in clkdm_read_sleepdep()
801 return arch_clkdm->clkdm_read_sleepdep(clkdm1, clkdm2); in clkdm_read_sleepdep()
819 if (!arch_clkdm || !arch_clkdm->clkdm_clear_all_sleepdeps) in clkdm_clear_all_sleepdeps()
822 return arch_clkdm->clkdm_clear_all_sleepdeps(clkdm); in clkdm_clear_all_sleepdeps()
847 if (!arch_clkdm || !arch_clkdm->clkdm_sleep) in clkdm_sleep_nolock()
853 ret = arch_clkdm->clkdm_sleep(clkdm); in clkdm_sleep_nolock()
901 if (!arch_clkdm || !arch_clkdm->clkdm_wakeup) in clkdm_wakeup_nolock()
907 ret = arch_clkdm->clkdm_wakeup(clkdm); in clkdm_wakeup_nolock()
964 if (!arch_clkdm || !arch_clkdm->clkdm_allow_idle) in clkdm_allow_idle_nolock()
971 arch_clkdm->clkdm_allow_idle(clkdm); in clkdm_allow_idle_nolock()
1019 if (!arch_clkdm || !arch_clkdm->clkdm_deny_idle) in clkdm_deny_idle_nolock()
1026 arch_clkdm->clkdm_deny_idle(clkdm); in clkdm_deny_idle_nolock()
1126 if (!clkdm || !arch_clkdm || !arch_clkdm->clkdm_clk_enable) in clkdm_clk_enable()
1142 arch_clkdm->clkdm_clk_enable(clkdm); in clkdm_clk_enable()
1166 if (!clkdm || !arch_clkdm || !arch_clkdm->clkdm_clk_disable) in clkdm_clk_disable()
1187 arch_clkdm->clkdm_clk_disable(clkdm); in clkdm_clk_disable()
1264 if (!arch_clkdm || !arch_clkdm->clkdm_save_context) in _clkdm_save_context()
1267 return arch_clkdm->clkdm_save_context(clkdm); in _clkdm_save_context()
1277 if (!arch_clkdm || !arch_clkdm->clkdm_restore_context) in _clkdm_restore_context()
1280 return arch_clkdm->clkdm_restore_context(clkdm); in _clkdm_restore_context()