Home
last modified time | relevance | path

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

/linux-6.12.1/kernel/power/
Dsuspend.c57 static const struct platform_suspend_ops *suspend_ops; variable
177 return suspend_ops && suspend_ops->valid && suspend_ops->valid(state) && in valid_state()
178 suspend_ops->enter; in valid_state()
219 suspend_ops = ops; in suspend_set_ops()
259 return state != PM_SUSPEND_TO_IDLE && suspend_ops->prepare ? in platform_suspend_prepare()
260 suspend_ops->prepare() : 0; in platform_suspend_prepare()
275 return suspend_ops->prepare_late ? suspend_ops->prepare_late() : 0; in platform_suspend_prepare_noirq()
283 } else if (suspend_ops->wake) { in platform_resume_noirq()
284 suspend_ops->wake(); in platform_resume_noirq()
296 if (state != PM_SUSPEND_TO_IDLE && suspend_ops->finish) in platform_resume_finish()
[all …]
/linux-6.12.1/Documentation/power/
Dcharger-manager.rst98 When cm_suspend_again is called, it monitors every battery. The suspend_ops