Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Dsuspend.h70 int last_failed_step; member
94 suspend_stats.failed_steps[suspend_stats.last_failed_step] = step; in dpm_save_failed_step()
95 suspend_stats.last_failed_step++; in dpm_save_failed_step()
96 suspend_stats.last_failed_step %= REC_FAILED_NUM; in dpm_save_failed_step()
/Linux-v5.4/kernel/power/
Dmain.c330 char *last_failed_step = NULL; in last_failed_step_show() local
332 index = suspend_stats.last_failed_step + REC_FAILED_NUM - 1; in last_failed_step_show()
335 last_failed_step = suspend_step_name(step); in last_failed_step_show()
337 return sprintf(buf, "%s\n", last_failed_step); in last_failed_step_show()
339 static struct kobj_attribute last_failed_step = __ATTR_RO(last_failed_step); variable
354 &last_failed_step.attr,
372 last_step = suspend_stats.last_failed_step + REC_FAILED_NUM - 1; in suspend_stats_show()
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-power404 What: /sys/power/suspend_stats/last_failed_step
408 The /sys/power/suspend_stats/last_failed_step file contains
/Linux-v5.4/Documentation/power/
Dbasic-pm-debugging.rst263 last_failed_step: suspend