Searched refs:suspend_modes (Results 1 – 1 of 1) sorted by relevance
63 static const char *const suspend_modes[] = { variable 211 for (md = PM_SUSPEND_MODE_FIRST; md < ARRAY_SIZE(suspend_modes); md++) in suspend_mode_show() 212 if (suspend_modes[md]) { in suspend_mode_show() 214 s += sprintf(s, "[%s] ", suspend_modes[md]); in suspend_mode_show() 216 s += sprintf(s, "%s ", suspend_modes[md]); in suspend_mode_show() 231 for (md = PM_SUSPEND_MODE_FIRST; md < ARRAY_SIZE(suspend_modes); md++) in suspend_mode_store() 232 if (suspend_modes[md] && in suspend_mode_store() 233 sysfs_streq(suspend_modes[md], buf)) { in suspend_mode_store()