Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/power/
Dsuspend.c37 [PM_SUSPEND_TO_IDLE] = "freeze",
43 [PM_SUSPEND_TO_IDLE] = "s2idle",
49 suspend_state_t mem_sleep_current = PM_SUSPEND_TO_IDLE;
72 return mem_sleep_current == PM_SUSPEND_TO_IDLE; in pm_suspend_default_s2idle()
92 trace_suspend_resume(TPS("machine_suspend"), PM_SUSPEND_TO_IDLE, true); in s2idle_enter()
117 trace_suspend_resume(TPS("machine_suspend"), PM_SUSPEND_TO_IDLE, false); in s2idle_enter()
179 pm_states[PM_SUSPEND_TO_IDLE] = pm_labels[PM_SUSPEND_TO_IDLE]; in pm_states_init()
184 mem_sleep_states[PM_SUSPEND_TO_IDLE] = mem_sleep_labels[PM_SUSPEND_TO_IDLE]; in pm_states_init()
191 for (state = PM_SUSPEND_TO_IDLE; state <= PM_SUSPEND_MEM; state++) in mem_sleep_default_setup()
246 return state == PM_SUSPEND_TO_IDLE || in sleep_state_supported()
[all …]
Dsuspend_test.c106 state = PM_SUSPEND_TO_IDLE; in test_wakealarm()
108 if (state == PM_SUSPEND_TO_IDLE) { in test_wakealarm()
/linux-6.1.9/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-6.1.9/drivers/gpu/drm/i915/gt/
Dintel_gt_pm.c323 return PM_SUSPEND_TO_IDLE; in pm_suspend_target()
352 if (pm_suspend_target() == PM_SUSPEND_TO_IDLE) in intel_gt_suspend_late()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_acpi.c1060 return pm_suspend_target_state != PM_SUSPEND_TO_IDLE; in amdgpu_acpi_should_gpu_reset()
1073 (pm_suspend_target_state != PM_SUSPEND_TO_IDLE)) in amdgpu_acpi_is_s0ix_active()
/linux-6.1.9/drivers/acpi/x86/
Ds2idle.c464 mem_sleep_current = PM_SUSPEND_TO_IDLE; in lps0_device_attach()
/linux-6.1.9/drivers/regulator/
Dof_regulator.c261 case PM_SUSPEND_TO_IDLE: in of_get_regulation_constraints()
Dcore.c448 return (state > PM_SUSPEND_MAX || state == PM_SUSPEND_TO_IDLE); in regulator_check_states()