Home
last modified time | relevance | path

Searched refs:pm_suspend_global_flags (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/include/linux/
Dsuspend.h211 extern unsigned int pm_suspend_global_flags;
219 pm_suspend_global_flags = 0; in pm_suspend_clear_flags()
224 pm_suspend_global_flags |= PM_SUSPEND_FLAG_FW_SUSPEND; in pm_set_suspend_via_firmware()
229 pm_suspend_global_flags |= PM_SUSPEND_FLAG_FW_RESUME; in pm_set_resume_via_firmware()
234 pm_suspend_global_flags |= PM_SUSPEND_FLAG_NO_PLATFORM; in pm_set_suspend_no_platform()
259 return !!(pm_suspend_global_flags & PM_SUSPEND_FLAG_FW_SUSPEND); in pm_suspend_via_firmware()
275 return !!(pm_suspend_global_flags & PM_SUSPEND_FLAG_FW_RESUME); in pm_resume_via_firmware()
291 return !!(pm_suspend_global_flags & PM_SUSPEND_FLAG_NO_PLATFORM); in pm_suspend_no_platform()
/Linux-v5.10/kernel/power/
Dsuspend.c54 unsigned int pm_suspend_global_flags; variable
55 EXPORT_SYMBOL_GPL(pm_suspend_global_flags);