Searched refs:autosuspend_ops (Results 1 – 3 of 3) sorted by relevance
27 static struct autosuspend_ops* autosuspend_ops = NULL; variable31 if (autosuspend_ops != NULL) { in autosuspend_init()35 autosuspend_ops = autosuspend_wakeup_count_init(); in autosuspend_init()36 if (autosuspend_ops == NULL) { in autosuspend_init()59 ret = autosuspend_ops->enable(); in autosuspend_enable()82 ret = autosuspend_ops->disable(); in autosuspend_disable()101 return autosuspend_ops->force_suspend(timeout_ms); in autosuspend_force_suspend()114 autosuspend_ops->set_wakeup_callback(func); in autosuspend_set_wakeup_callback()
20 struct autosuspend_ops { struct28 struct autosuspend_ops *autosuspend_wakeup_count_init(void); argument
227 struct autosuspend_ops autosuspend_wakeup_count_ops = {234 struct autosuspend_ops* autosuspend_wakeup_count_init(void) { in autosuspend_wakeup_count_init()