Searched refs:last_failed_dev (Results 1 – 4 of 4) sorted by relevance
316 int last_failed_dev; member334 strscpy(suspend_stats.failed_devs[suspend_stats.last_failed_dev], in dpm_save_failed_dev()336 suspend_stats.last_failed_dev++; in dpm_save_failed_dev()337 suspend_stats.last_failed_dev %= REC_FAILED_NUM; in dpm_save_failed_dev()425 char *last_failed_dev = NULL; in last_failed_dev_show() local427 index = suspend_stats.last_failed_dev + REC_FAILED_NUM - 1; in last_failed_dev_show()429 last_failed_dev = suspend_stats.failed_devs[index]; in last_failed_dev_show()431 return sysfs_emit(buf, "%s\n", last_failed_dev); in last_failed_dev_show()433 static struct kobj_attribute last_failed_dev = __ATTR_RO(last_failed_dev); variable474 &last_failed_dev.attr,[all …]
394 What: /sys/power/suspend_stats/last_failed_dev398 The /sys/power/suspend_stats/last_failed_dev file contains
4557 struct ata_device *last_failed_dev = NULL; in ata_scsi_scan_host() local4606 if (dev != last_failed_dev) { in ata_scsi_scan_host()4608 last_failed_dev = dev; in ata_scsi_scan_host()
259 last_failed_dev: alarm