Searched refs:last_failed_dev (Results 1 – 6 of 6) sorted by relevance
66 int last_failed_dev; member78 strlcpy(suspend_stats.failed_devs[suspend_stats.last_failed_dev], in dpm_save_failed_dev()81 suspend_stats.last_failed_dev++; in dpm_save_failed_dev()82 suspend_stats.last_failed_dev %= REC_FAILED_NUM; in dpm_save_failed_dev()
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()
394 What: /sys/power/suspend_stats/last_failed_dev398 The /sys/power/suspend_stats/last_failed_dev file contains
4339 struct ata_device *last_failed_dev = NULL; in ata_scsi_scan_host() local4388 if (dev != last_failed_dev) { in ata_scsi_scan_host()4390 last_failed_dev = dev; in ata_scsi_scan_host()
259 last_failed_dev: alarm
973 + last_dev = suspend_stats.last_failed_dev + REC_FAILED_NUM - 1;985 + last_dev = suspend_stats.last_failed_dev + REC_FAILED_NUM - 1;