Home
last modified time | relevance | path

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

/linux/kernel/power/
H A Dmain.c316 int last_failed_dev; member
334 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() local
427 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); variable
474 &last_failed_dev.attr,
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-power394 What: /sys/power/suspend_stats/last_failed_dev
398 The /sys/power/suspend_stats/last_failed_dev file contains
/linux/drivers/ata/
H A Dlibata-scsi.c4557 struct ata_device *last_failed_dev = NULL; in ata_scsi_scan_host() local
4606 if (dev != last_failed_dev) { in ata_scsi_scan_host()
4608 last_failed_dev = dev; in ata_scsi_scan_host()
/linux/Documentation/power/
H A Dbasic-pm-debugging.rst259 last_failed_dev: alarm