Searched refs:can_sleep (Results 1 – 5 of 5) sorted by relevance
191 supported = can_sleep(SLEEP_SUSPEND) > 0; in manager_handle_action()193 supported = can_sleep(SLEEP_HIBERNATE) > 0; in manager_handle_action()195 supported = can_sleep(SLEEP_HYBRID_SLEEP) > 0; in manager_handle_action()197 supported = can_sleep(SLEEP_SUSPEND_THEN_HIBERNATE) > 0; in manager_handle_action()204 supported = can_sleep(SLEEP_SUSPEND) > 0; in manager_handle_action()
1916 r = can_sleep(a->sleep_operation); in method_do_shutdown_or_sleep()2384 r = can_sleep(a->sleep_operation); in method_can_shutdown_or_sleep()
111 r = can_sleep(SLEEP_SUSPEND); in TEST()113 r = can_sleep(SLEEP_HIBERNATE); in TEST()115 r = can_sleep(SLEEP_HYBRID_SLEEP); in TEST()117 r = can_sleep(SLEEP_SUSPEND_THEN_HIBERNATE); in TEST()
55 int can_sleep(SleepOperation operation);
654 int can_sleep(SleepOperation operation) { in can_sleep() function