Searched refs:SLEEP_HYBRID_SLEEP (Results 1 – 5 of 5) sorted by relevance
/systemd-251/src/shared/ |
D | sleep-config.c | 58 … "Sleep", "HybridSleepMode", config_parse_strv, 0, sc->modes + SLEEP_HYBRID_SLEEP }, in parse_sleep_config() 59 … "Sleep", "HybridSleepState", config_parse_strv, 0, sc->states + SLEEP_HYBRID_SLEEP }, in parse_sleep_config() 77 sc->allow[SLEEP_HYBRID_SLEEP] = allow_hybrid_sleep >= 0 ? allow_hybrid_sleep in parse_sleep_config() 88 if (!sc->modes[SLEEP_HYBRID_SLEEP]) in parse_sleep_config() 89 sc->modes[SLEEP_HYBRID_SLEEP] = strv_new("suspend", "platform", "shutdown"); in parse_sleep_config() 90 if (!sc->states[SLEEP_HYBRID_SLEEP]) in parse_sleep_config() 91 sc->states[SLEEP_HYBRID_SLEEP] = strv_new("disk"); in parse_sleep_config() 97 …|| !sc->states[SLEEP_HIBERNATE] || !sc->modes[SLEEP_HYBRID_SLEEP] || !sc->states[SLEEP_HYBRID_SLEE… in parse_sleep_config() 680 [SLEEP_HYBRID_SLEEP] = "hybrid-sleep",
|
D | sleep-config.h | 10 SLEEP_HYBRID_SLEEP, enumerator
|
/systemd-251/src/test/ |
D | test-sleep.c | 31 hym = strv_join(sleep_config->modes[SLEEP_HYBRID_SLEEP], ", "); in TEST() 32 hys = strv_join(sleep_config->states[SLEEP_HYBRID_SLEEP], ", "); in TEST() 36 log_debug(" allow_hybrid_sleep: %u", sleep_config->allow[SLEEP_HYBRID_SLEEP]); in TEST() 115 r = can_sleep(SLEEP_HYBRID_SLEEP); in TEST()
|
/systemd-251/src/login/ |
D | logind-action.c | 95 .sleep_operation = SLEEP_HYBRID_SLEEP, 195 supported = can_sleep(SLEEP_HYBRID_SLEEP) > 0; in manager_handle_action()
|
/systemd-251/src/sleep/ |
D | sleep.c | 406 case SLEEP_HYBRID_SLEEP: in run() 407 r = execute(sleep_config, SLEEP_HYBRID_SLEEP, NULL); in run()
|