Home
last modified time | relevance | path

Searched refs:PM_SUSPEND_TO_IDLE (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/kernel/power/
Dsuspend.c39 [PM_SUSPEND_TO_IDLE] = "freeze",
45 [PM_SUSPEND_TO_IDLE] = "s2idle",
51 suspend_state_t mem_sleep_current = PM_SUSPEND_TO_IDLE;
68 return mem_sleep_current == PM_SUSPEND_TO_IDLE; in pm_suspend_via_s2idle()
86 trace_suspend_resume(TPS("machine_suspend"), PM_SUSPEND_TO_IDLE, true); in s2idle_enter()
113 trace_suspend_resume(TPS("machine_suspend"), PM_SUSPEND_TO_IDLE, false); in s2idle_enter()
189 pm_states[PM_SUSPEND_TO_IDLE] = pm_labels[PM_SUSPEND_TO_IDLE]; in pm_states_init()
194 mem_sleep_states[PM_SUSPEND_TO_IDLE] = mem_sleep_labels[PM_SUSPEND_TO_IDLE]; in pm_states_init()
201 for (state = PM_SUSPEND_TO_IDLE; state <= PM_SUSPEND_MEM; state++) in mem_sleep_default_setup()
253 return state == PM_SUSPEND_TO_IDLE || (suspend_ops && suspend_ops->enter); in sleep_state_supported()
[all …]
Dsuspend_test.c107 state = PM_SUSPEND_TO_IDLE; in test_wakealarm()
109 if (state == PM_SUSPEND_TO_IDLE) { in test_wakealarm()
/Linux-v4.19/include/linux/
Dsuspend.h37 #define PM_SUSPEND_TO_IDLE ((__force suspend_state_t) 1) macro
40 #define PM_SUSPEND_MIN PM_SUSPEND_TO_IDLE
/Linux-v4.19/drivers/regulator/
Dof_regulator.c185 case PM_SUSPEND_TO_IDLE: in of_get_regulation_constraints()
Dcore.c285 return (state > PM_SUSPEND_MAX || state == PM_SUSPEND_TO_IDLE); in regulator_check_states()
/Linux-v4.19/drivers/acpi/
Dsleep.c939 mem_sleep_current = PM_SUSPEND_TO_IDLE; in lps0_device_attach()