Lines Matching refs:SLEEP_HIBERNATE
56 … "Sleep", "HibernateMode", config_parse_strv, 0, sc->modes + SLEEP_HIBERNATE }, in parse_sleep_config()
57 … "Sleep", "HibernateState", config_parse_strv, 0, sc->states + SLEEP_HIBERNATE }, in parse_sleep_config()
76 sc->allow[SLEEP_HIBERNATE] = allow_hibernate != 0; in parse_sleep_config()
84 if (!sc->modes[SLEEP_HIBERNATE]) in parse_sleep_config()
85 sc->modes[SLEEP_HIBERNATE] = strv_new("platform", "shutdown"); in parse_sleep_config()
86 if (!sc->states[SLEEP_HIBERNATE]) in parse_sleep_config()
87 sc->states[SLEEP_HIBERNATE] = strv_new("disk"); in parse_sleep_config()
96 if (!sc->states[SLEEP_SUSPEND] || !sc->modes[SLEEP_HIBERNATE] in parse_sleep_config()
97 …|| !sc->states[SLEEP_HIBERNATE] || !sc->modes[SLEEP_HYBRID_SLEEP] || !sc->states[SLEEP_HYBRID_SLEE… in parse_sleep_config()
602 SLEEP_HIBERNATE, in can_s2h()
679 [SLEEP_HIBERNATE] = "hibernate",