Home
last modified time | relevance | path

Searched refs:suspend_modes (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/soc/xilinx/
H A Dzynqmp_power.c45 static const char *const suspend_modes[] = { variable
147 for (md = PM_SUSPEND_MODE_FIRST; md < ARRAY_SIZE(suspend_modes); md++) in suspend_mode_show()
148 if (suspend_modes[md]) { in suspend_mode_show()
150 s += sprintf(s, "[%s] ", suspend_modes[md]); in suspend_mode_show()
152 s += sprintf(s, "%s ", suspend_modes[md]); in suspend_mode_show()
167 for (md = PM_SUSPEND_MODE_FIRST; md < ARRAY_SIZE(suspend_modes); md++) in suspend_mode_store()
168 if (suspend_modes[md] && in suspend_mode_store()
169 sysfs_streq(suspend_modes[md], buf)) { in suspend_mode_store()