Searched refs:suspend_ops (Results 1 – 1 of 1) sorted by relevance
59 static const struct platform_suspend_ops *suspend_ops; variable175 return suspend_ops && suspend_ops->valid && suspend_ops->valid(state) && in valid_state()176 suspend_ops->enter; in valid_state()216 suspend_ops = ops; in suspend_set_ops()256 return state != PM_SUSPEND_TO_IDLE && suspend_ops->prepare ? in platform_suspend_prepare()257 suspend_ops->prepare() : 0; in platform_suspend_prepare()272 return suspend_ops->prepare_late ? suspend_ops->prepare_late() : 0; in platform_suspend_prepare_noirq()280 } else if (suspend_ops->wake) { in platform_resume_noirq()281 suspend_ops->wake(); in platform_resume_noirq()293 if (state != PM_SUSPEND_TO_IDLE && suspend_ops->finish) in platform_resume_finish()[all …]