/linux/kernel/power/ |
A D | suspend.c | 39 [PM_SUSPEND_MEM] = "mem", 45 [PM_SUSPEND_MEM] = "deep", 175 pm_states[PM_SUSPEND_MEM] = pm_labels[PM_SUSPEND_MEM]; in pm_states_init() 188 for (state = PM_SUSPEND_TO_IDLE; state <= PM_SUSPEND_MEM; state++) in mem_sleep_default_setup() 215 if (valid_state(PM_SUSPEND_MEM)) { in suspend_set_ops() 216 mem_sleep_states[PM_SUSPEND_MEM] = mem_sleep_labels[PM_SUSPEND_MEM]; in suspend_set_ops() 217 if (mem_sleep_default >= PM_SUSPEND_MEM) in suspend_set_ops() 218 mem_sleep_current = PM_SUSPEND_MEM; in suspend_set_ops() 235 return state == PM_SUSPEND_MEM; in suspend_valid_only_mem()
|
/linux/drivers/soc/ti/ |
A D | pm33xx.c | 192 if (suspend_state == PM_SUSPEND_MEM && in am33xx_pm_suspend() 251 if (suspend_state == PM_SUSPEND_MEM && pm_ops->check_off_mode_enable()) in am33xx_pm_suspend() 262 case PM_SUSPEND_MEM: in am33xx_pm_enter() 278 if (state == PM_SUSPEND_MEM && pm_ops->check_off_mode_enable()) { in am33xx_pm_begin() 292 case PM_SUSPEND_MEM: in am33xx_pm_begin() 340 case PM_SUSPEND_MEM: in am33xx_pm_valid()
|
/linux/arch/nds32/kernel/ |
A D | pm.c | 47 case PM_SUSPEND_MEM: in nds32_pm_valid() 61 case PM_SUSPEND_MEM: in nds32_pm_enter()
|
/linux/arch/arm/mach-milbeaut/ |
A D | platsmp.c | 101 return (state == PM_SUSPEND_STANDBY) || (state == PM_SUSPEND_MEM); in m10v_pm_valid() 124 case PM_SUSPEND_MEM: in m10v_pm_enter()
|
/linux/arch/x86/platform/olpc/ |
A D | olpc-xo1-pm.c | 52 if (pm_state != PM_SUSPEND_MEM) in xo1_power_state_enter() 111 return pm_state == PM_SUSPEND_MEM; in xo1_power_state_valid()
|
/linux/arch/powerpc/platforms/83xx/ |
A D | suspend.c | 242 return state == PM_SUSPEND_STANDBY || state == PM_SUSPEND_MEM; in mpc83xx_suspend_valid() 252 case PM_SUSPEND_MEM: in mpc83xx_suspend_begin() 281 pm_suspend(pci_pm_state == 3 ? PM_SUSPEND_MEM : in agent_thread_fn()
|
/linux/arch/arm/mach-mvebu/ |
A D | pm.c | 195 case PM_SUSPEND_MEM: in mvebu_pm_enter() 209 if (state == PM_SUSPEND_MEM && mvebu_board_pm_enter != NULL) in mvebu_pm_valid()
|
/linux/drivers/regulator/ |
A D | of_regulator.c | 20 [PM_SUSPEND_MEM] = "regulator-state-mem", 251 case PM_SUSPEND_MEM: in of_get_regulation_constraints() 310 if (i == PM_SUSPEND_MEM) in of_get_regulation_constraints() 311 constraints->initial_state = PM_SUSPEND_MEM; in of_get_regulation_constraints()
|
/linux/drivers/soc/xilinx/ |
A D | zynqmp_power.c | 73 pm_suspend(PM_SUSPEND_MEM); in zynqmp_pm_isr() 124 pm_suspend(PM_SUSPEND_MEM); in zynqmp_pm_init_suspend_work_fn()
|
/linux/arch/arm/mach-pxa/ |
A D | pxa27x.c | 153 case PM_SUSPEND_MEM: in pxa27x_cpu_pm_enter() 165 return state == PM_SUSPEND_MEM || state == PM_SUSPEND_STANDBY; in pxa27x_cpu_pm_valid()
|
A D | pxa3xx.c | 155 case PM_SUSPEND_MEM: in pxa3xx_cpu_pm_enter() 163 return state == PM_SUSPEND_MEM || state == PM_SUSPEND_STANDBY; in pxa3xx_cpu_pm_valid()
|
/linux/arch/arm/mach-mxs/ |
A D | pm.c | 14 case PM_SUSPEND_MEM: in mxs_suspend_enter()
|
/linux/arch/arm/mach-imx/ |
A D | pm-imx25.c | 16 case PM_SUSPEND_MEM: in imx25_suspend_enter()
|
A D | pm-imx27.c | 29 case PM_SUSPEND_MEM: in mx27_suspend_enter()
|
A D | pm-imx5.c | 210 case PM_SUSPEND_MEM: in mx5_suspend_enter() 220 if (state == PM_SUSPEND_MEM) { in mx5_suspend_enter()
|
/linux/arch/powerpc/platforms/4xx/ |
A D | cpm.c | 193 case PM_SUSPEND_MEM: in cpm_suspend_valid() 221 case PM_SUSPEND_MEM: in cpm_suspend_enter()
|
/linux/drivers/char/ |
A D | apm-emulation.c | 314 as->suspend_result = pm_suspend(PM_SUSPEND_MEM); in apm_ioctl() 495 pm_suspend(PM_SUSPEND_MEM); in kapmd() 500 pm_suspend(PM_SUSPEND_MEM); in kapmd()
|
/linux/arch/mips/loongson64/ |
A D | pm.c | 85 case PM_SUSPEND_MEM: in loongson_pm_valid_state()
|
/linux/arch/powerpc/platforms/52xx/ |
A D | lite5200_pm.c | 29 case PM_SUSPEND_MEM: in lite5200_pm_valid() 62 if (lite5200_pm_target_state != PM_SUSPEND_MEM) in lite5200_pm_prepare()
|
/linux/arch/mips/loongson2ef/common/ |
A D | pm.c | 139 case PM_SUSPEND_MEM: in loongson_pm_valid_state()
|
/linux/arch/arm/mach-omap2/ |
A D | pm.c | 88 case PM_SUSPEND_MEM: in omap_pm_enter()
|
/linux/arch/um/kernel/ |
A D | um_arch.c | 456 return state == PM_SUSPEND_MEM; in um_suspend_valid() 467 if (WARN_ON(state != PM_SUSPEND_MEM)) in um_suspend_enter()
|
/linux/drivers/soc/bcm/brcmstb/pm/ |
A D | pm-mips.c | 313 case PM_SUSPEND_MEM: in brcmstb_pm_enter() 326 case PM_SUSPEND_MEM: in brcmstb_pm_valid()
|
/linux/arch/arm/mach-socfpga/ |
A D | pm.c | 110 case PM_SUSPEND_MEM: in socfpga_pm_enter()
|
/linux/arch/powerpc/platforms/pseries/ |
A D | suspend.c | 93 rc = pm_suspend(PM_SUSPEND_MEM); in store_hibernate()
|