static void exynos_sys_powerdown_set_clk(enum sys_powerdown mode) { switch (mode) { case SYS_AFTR: break; case SYS_LPA: exynos_save_sfr(save_clk_regs, ARRAY_SIZE(save_clk_regs)); break; case SYS_SLEEP: break; default: break; } }
static int exynos_asv_suspend(void) { struct asv_info *exynos_asv_info; int i; exynos_save_sfr(exynos_abb_save, ARRAY_SIZE(exynos_abb_save)); for (i = 0; i < ARRAY_SIZE(exynos_asv_member); i++) { exynos_asv_info = &exynos_asv_member[i]; exynos_asv_info->ops_cal ->set_abb(exynos_asv_info->asv_type, ABB_BYPASS); } return 0; }