Searched refs:hibernation_mode (Results 1 – 2 of 2) sorted by relevance
75 static int hibernation_mode = HIBERNATION_SHUTDOWN; variable89 return hibernation_mode == HIBERNATION_SUSPEND; in pm_hibernation_mode_is_suspend()135 hibernation_mode = HIBERNATION_PLATFORM; in hibernation_set_ops()136 else if (hibernation_mode == HIBERNATION_PLATFORM) in hibernation_set_ops()137 hibernation_mode = HIBERNATION_SHUTDOWN; in hibernation_set_ops()708 if (hibernation_mode == HIBERNATION_SUSPEND) { in power_down()713 hibernation_mode = hibernation_ops ? HIBERNATION_PLATFORM : in power_down()718 switch (hibernation_mode) { in power_down()839 error = hibernation_snapshot(hibernation_mode == HIBERNATION_PLATFORM); in hibernate()846 if (hibernation_mode == HIBERNATION_PLATFORM) in hibernate()[all …]
138 unsigned int hibernation_mode:1;6119 !sc->hibernation_mode && in shrink_node() 7441 .hibernation_mode = 1, in shrink_all_memory() 139 unsigned int hibernation_mode:1; global() member