Searched refs:last_failed_dev (Results 1 – 2 of 2) sorted by relevance
333 char *last_failed_dev = NULL; in last_failed_dev_show() local335 index = suspend_stats.last_failed_dev + REC_FAILED_NUM - 1; in last_failed_dev_show()337 last_failed_dev = suspend_stats.failed_devs[index]; in last_failed_dev_show()339 return sprintf(buf, "%s\n", last_failed_dev); in last_failed_dev_show()341 static struct kobj_attribute last_failed_dev = __ATTR_RO(last_failed_dev); variable384 &last_failed_dev.attr,400 last_dev = suspend_stats.last_failed_dev + REC_FAILED_NUM - 1; in suspend_stats_show()
403 last_dev = suspend_stats.last_failed_dev + REC_FAILED_NUM - 1; in suspend_enter()416 last_dev = suspend_stats.last_failed_dev + REC_FAILED_NUM - 1; in suspend_enter()