Searched refs:suspend_modes (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/soc/xilinx/ |
H A D | zynqmp_power.c | 42 static const char *const suspend_modes[] = { variable 137 for (md = PM_SUSPEND_MODE_FIRST; md < ARRAY_SIZE(suspend_modes); md++) in suspend_mode_show() 138 if (suspend_modes[md]) { in suspend_mode_show() 140 s += sprintf(s, "[%s] ", suspend_modes[md]); in suspend_mode_show() 142 s += sprintf(s, "%s ", suspend_modes[md]); in suspend_mode_show() 157 for (md = PM_SUSPEND_MODE_FIRST; md < ARRAY_SIZE(suspend_modes); md++) in suspend_mode_store() 158 if (suspend_modes[md] && in suspend_mode_store() 159 sysfs_streq(suspend_modes[md], buf)) { in suspend_mode_store()
|
/kernel/linux/linux-6.6/drivers/soc/xilinx/ |
H A D | zynqmp_power.c | 45 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()
|
Completed in 1 milliseconds