Searched refs:suspend_ops (Results 1 – 2 of 2) sorted by relevance
57 static const struct platform_suspend_ops *suspend_ops; variable169 return suspend_ops && suspend_ops->valid && suspend_ops->valid(state); in valid_state()207 suspend_ops = ops; in suspend_set_ops()240 return state == PM_SUSPEND_TO_IDLE || (suspend_ops && suspend_ops->enter); in sleep_state_supported()245 return state != PM_SUSPEND_TO_IDLE && suspend_ops->prepare ? in platform_suspend_prepare()246 suspend_ops->prepare() : 0; in platform_suspend_prepare()261 return suspend_ops->prepare_late ? suspend_ops->prepare_late() : 0; in platform_suspend_prepare_noirq()269 } else if (suspend_ops->wake) { in platform_resume_noirq()270 suspend_ops->wake(); in platform_resume_noirq()282 if (state != PM_SUSPEND_TO_IDLE && suspend_ops->finish) in platform_resume_finish()[all …]
98 When cm_suspend_again is called, it monitors every battery. The suspend_ops