Searched refs:can_sleep_state (Results 1 – 3 of 3) sorted by relevance
101 log_info("Standby configured: %s", yes_no(can_sleep_state(standby) > 0)); in TEST()102 log_info("Suspend configured: %s", yes_no(can_sleep_state(mem) > 0)); in TEST()103 log_info("Hibernate configured: %s", yes_no(can_sleep_state(disk) > 0)); in TEST()108 log_info("Freeze configured: %s", yes_no(can_sleep_state(freeze) > 0)); in TEST()
57 int can_sleep_state(char **types);
105 int can_sleep_state(char **types) { in can_sleep_state() function641 if (can_sleep_state(sleep_config->states[operation]) <= 0 || in can_sleep_internal()