Home
last modified time | relevance | path

Searched refs:save_state (Results 1 – 3 of 3) sorted by relevance

/arch/arm/mach-omap2/
Domap-mpuss-lowpower.c182 static void l2x0_pwrst_prepare(unsigned int cpu_id, unsigned int save_state) in l2x0_pwrst_prepare() argument
187 writel_relaxed(save_state, pm_info->l2x0_sar_addr); in l2x0_pwrst_prepare()
228 unsigned int save_state = 0, cpu_logic_state = PWRDM_POWER_RET; in omap4_enter_lowpower() local
236 save_state = 0; in omap4_enter_lowpower()
240 save_state = 1; in omap4_enter_lowpower()
244 save_state = 0; in omap4_enter_lowpower()
266 save_state = 2; in omap4_enter_lowpower()
273 l2x0_pwrst_prepare(cpu, save_state); in omap4_enter_lowpower()
278 if (save_state) in omap4_enter_lowpower()
279 cpu_suspend(save_state, omap_pm_ops.finish_suspend); in omap4_enter_lowpower()
[all …]
Dpm34xx.c176 static int omap34xx_do_sram_idle(unsigned long save_state) in omap34xx_do_sram_idle() argument
178 omap34xx_cpu_suspend(save_state); in omap34xx_do_sram_idle()
190 int save_state = 0; in omap_sram_idle() local
202 save_state = 0; in omap_sram_idle()
205 save_state = 3; in omap_sram_idle()
260 if (save_state) in omap_sram_idle()
262 if (save_state == 1 || save_state == 3) in omap_sram_idle()
263 cpu_suspend(save_state, omap34xx_do_sram_idle); in omap_sram_idle()
265 omap34xx_do_sram_idle(save_state); in omap_sram_idle()
Dpm.h69 extern void omap34xx_cpu_suspend(int save_state);