Home
last modified time | relevance | path

Searched refs:PM_SUSPEND_MEM (Results 1 – 25 of 50) sorted by relevance

12

/Linux-v5.4/kernel/power/
Dsuspend.c39 [PM_SUSPEND_MEM] = "mem",
45 [PM_SUSPEND_MEM] = "deep",
174 pm_states[PM_SUSPEND_MEM] = pm_labels[PM_SUSPEND_MEM]; in pm_states_init()
187 for (state = PM_SUSPEND_TO_IDLE; state <= PM_SUSPEND_MEM; state++) in mem_sleep_default_setup()
214 if (valid_state(PM_SUSPEND_MEM)) { in suspend_set_ops()
215 mem_sleep_states[PM_SUSPEND_MEM] = mem_sleep_labels[PM_SUSPEND_MEM]; in suspend_set_ops()
216 if (mem_sleep_default >= PM_SUSPEND_MEM) in suspend_set_ops()
217 mem_sleep_current = PM_SUSPEND_MEM; in suspend_set_ops()
233 return state == PM_SUSPEND_MEM; in suspend_valid_only_mem()
/Linux-v5.4/drivers/soc/ti/
Dpm33xx.c171 if (suspend_state == PM_SUSPEND_MEM && in am33xx_pm_suspend()
225 if (suspend_state == PM_SUSPEND_MEM && pm_ops->check_off_mode_enable()) in am33xx_pm_suspend()
236 case PM_SUSPEND_MEM: in am33xx_pm_enter()
252 if (state == PM_SUSPEND_MEM && pm_ops->check_off_mode_enable()) { in am33xx_pm_begin()
264 case PM_SUSPEND_MEM: in am33xx_pm_begin()
310 case PM_SUSPEND_MEM: in am33xx_pm_valid()
/Linux-v5.4/arch/nds32/kernel/
Dpm.c45 case PM_SUSPEND_MEM: in nds32_pm_valid()
59 case PM_SUSPEND_MEM: in nds32_pm_enter()
/Linux-v5.4/arch/arm/mach-milbeaut/
Dplatsmp.c101 return (state == PM_SUSPEND_STANDBY) || (state == PM_SUSPEND_MEM); in m10v_pm_valid()
124 case PM_SUSPEND_MEM: in m10v_pm_enter()
/Linux-v5.4/arch/x86/platform/olpc/
Dolpc-xo1-pm.c53 if (pm_state != PM_SUSPEND_MEM) in xo1_power_state_enter()
112 return pm_state == PM_SUSPEND_MEM; in xo1_power_state_valid()
/Linux-v5.4/arch/arm/mach-imx/
Dmach-mx31ads.c269 .initial_state = PM_SUSPEND_MEM,
288 .initial_state = PM_SUSPEND_MEM,
305 .initial_state = PM_SUSPEND_MEM,
329 .initial_state = PM_SUSPEND_MEM,
Dpm-imx25.c16 case PM_SUSPEND_MEM: in imx25_suspend_enter()
Dpm-imx27.c20 case PM_SUSPEND_MEM: in mx27_suspend_enter()
Dpm-imx5.c210 case PM_SUSPEND_MEM: in mx5_suspend_enter()
220 if (state == PM_SUSPEND_MEM) { in mx5_suspend_enter()
/Linux-v5.4/arch/arm/mach-mvebu/
Dpm.c195 case PM_SUSPEND_MEM: in mvebu_pm_enter()
209 if (state == PM_SUSPEND_MEM && mvebu_board_pm_enter != NULL) in mvebu_pm_valid()
/Linux-v5.4/arch/powerpc/platforms/pseries/
Dsuspend.c147 rc = pseries_suspend_begin(PM_SUSPEND_MEM); in store_hibernate()
164 rc = pm_suspend(PM_SUSPEND_MEM); in store_hibernate()
/Linux-v5.4/arch/powerpc/platforms/83xx/
Dsuspend.c242 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-v5.4/arch/arm/mach-mxs/
Dpm.c14 case PM_SUSPEND_MEM: in mxs_suspend_enter()
/Linux-v5.4/arch/unicore32/kernel/
Dpuv3-core.c208 case PM_SUSPEND_MEM: in puv3_cpu_pm_enter()
217 return state == PM_SUSPEND_MEM; in puv3_cpu_pm_valid()
/Linux-v5.4/arch/arm/mach-tango/
Dpm.c17 if (state == PM_SUSPEND_MEM) in tango_pm_enter()
/Linux-v5.4/drivers/regulator/
Dof_regulator.c20 [PM_SUSPEND_MEM] = "regulator-state-mem",
193 case PM_SUSPEND_MEM: in of_get_regulation_constraints()
252 if (i == PM_SUSPEND_MEM) in of_get_regulation_constraints()
253 constraints->initial_state = PM_SUSPEND_MEM; in of_get_regulation_constraints()
/Linux-v5.4/arch/arm/mach-pxa/
Dpxa27x.c153 case PM_SUSPEND_MEM: in pxa27x_cpu_pm_enter()
165 return state == PM_SUSPEND_MEM || state == PM_SUSPEND_STANDBY; in pxa27x_cpu_pm_valid()
Dpxa3xx.c155 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-v5.4/arch/powerpc/platforms/4xx/
Dcpm.c193 case PM_SUSPEND_MEM: in cpm_suspend_valid()
221 case PM_SUSPEND_MEM: in cpm_suspend_enter()
/Linux-v5.4/drivers/char/
Dapm-emulation.c314 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-v5.4/arch/mips/loongson64/common/
Dpm.c138 case PM_SUSPEND_MEM: in loongson_pm_valid_state()
/Linux-v5.4/arch/arm/mach-omap2/
Dpm.c86 case PM_SUSPEND_MEM: in omap_pm_enter()
/Linux-v5.4/arch/powerpc/platforms/52xx/
Dlite5200_pm.c29 case PM_SUSPEND_MEM: in lite5200_pm_valid()
62 if (lite5200_pm_target_state != PM_SUSPEND_MEM) in lite5200_pm_prepare()
/Linux-v5.4/arch/arm/mach-prima2/
Dpm.c71 case PM_SUSPEND_MEM: in sirfsoc_pm_enter()
/Linux-v5.4/arch/arm/mach-socfpga/
Dpm.c108 case PM_SUSPEND_MEM: in socfpga_pm_enter()

12