Home
last modified time | relevance | path

Searched refs:PM_SUSPEND_MAX (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/kernel/power/
Dsuspend_test.c168 for (i = PM_SUSPEND_MIN; i < PM_SUSPEND_MAX; i++) in setup_test_suspend()
192 for (test_state = PM_SUSPEND_MIN; test_state < PM_SUSPEND_MAX; test_state++) { in test_suspend()
198 if (test_state == PM_SUSPEND_MAX) { in test_suspend()
Dmain.c130 for (i = PM_SUSPEND_MIN; i < PM_SUSPEND_MAX; i++) in mem_sleep_show()
156 for (state = PM_SUSPEND_MIN; state < PM_SUSPEND_MAX; state++) { in decode_suspend_state()
182 if (state < PM_SUSPEND_MAX && state > PM_SUSPEND_ON) in mem_sleep_store()
598 for (i = PM_SUSPEND_MIN; i < PM_SUSPEND_MAX; i++) in state_show()
624 return PM_SUSPEND_MAX; in decode_state()
627 for (state = PM_SUSPEND_MIN; state < PM_SUSPEND_MAX; state++) { in decode_state()
654 if (state < PM_SUSPEND_MAX) { in state_store()
659 } else if (state == PM_SUSPEND_MAX) { in state_store()
753 if (state < PM_SUSPEND_MAX) in autosleep_show()
Dautosleep.c46 if (autosleep_state >= PM_SUSPEND_MAX) in try_to_suspend()
94 if (state >= PM_SUSPEND_MAX) in pm_autosleep_set_state()
Dsuspend.c41 const char *pm_states[PM_SUSPEND_MAX];
47 const char *mem_sleep_states[PM_SUSPEND_MAX];
50 suspend_state_t mem_sleep_default = PM_SUSPEND_MAX;
607 if (state <= PM_SUSPEND_ON || state >= PM_SUSPEND_MAX) in pm_suspend()
/kernel/linux/linux-5.10/drivers/regulator/
Dinternal.h16 #define REGULATOR_STATES_NUM (PM_SUSPEND_MAX + 1)
Dof_regulator.c18 static const char *const regulator_states[PM_SUSPEND_MAX + 1] = {
21 [PM_SUSPEND_MAX] = "regulator-state-disk",
196 case PM_SUSPEND_MAX: in of_get_regulation_constraints()
Dcore.c457 return (state > PM_SUSPEND_MAX || state == PM_SUSPEND_TO_IDLE); in regulator_check_states()
562 case PM_SUSPEND_MAX: in regulator_get_suspend_state()
/kernel/linux/linux-5.10/include/linux/
Dsuspend.h41 #define PM_SUSPEND_MAX ((__force suspend_state_t) 4) macro
/kernel/linux/linux-5.10/arch/arm/mach-imx/
Dpm-imx5.c244 return (state > PM_SUSPEND_ON && state <= PM_SUSPEND_MAX); in mx5_pm_valid()
/kernel/linux/linux-5.10/drivers/acpi/
Dsleep.c532 [PM_SUSPEND_MAX] = ACPI_STATE_S5