Searched refs:suspend_ops (Results 1 – 3 of 3) sorted by relevance
37 static const struct platform_suspend_ops *suspend_ops; variable46 suspend_ops = ops; in suspend_set_ops()57 return suspend_ops && suspend_ops->valid && suspend_ops->valid(state); in valid_state()96 if (!suspend_ops || !suspend_ops->enter) in suspend_prepare()140 if (suspend_ops->prepare) { in suspend_enter()141 error = suspend_ops->prepare(); in suspend_enter()152 if (suspend_ops->prepare_late) { in suspend_enter()153 error = suspend_ops->prepare_late(); in suspend_enter()172 error = suspend_ops->enter(state); in suspend_enter()185 if (suspend_ops->wake) in suspend_enter()[all …]
23 (e.g. ACPI or other suspend_ops), powering off the system or rebooting the
82 When cm_suspend_again is called, it monitors every battery. The suspend_ops