Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Dsuspend.h66 int last_failed_dev; member
78 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()
/kernel/linux/linux-5.10/kernel/power/
Dmain.c333 char *last_failed_dev = NULL; in last_failed_dev_show() local
335 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); variable
384 &last_failed_dev.attr,
400 last_dev = suspend_stats.last_failed_dev + REC_FAILED_NUM - 1; in suspend_stats_show()
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-power394 What: /sys/power/suspend_stats/last_failed_dev
398 The /sys/power/suspend_stats/last_failed_dev file contains
/kernel/linux/linux-5.10/drivers/ata/
Dlibata-scsi.c4339 struct ata_device *last_failed_dev = NULL; in ata_scsi_scan_host() local
4388 if (dev != last_failed_dev) { in ata_scsi_scan_host()
4390 last_failed_dev = dev; in ata_scsi_scan_host()
/kernel/linux/linux-5.10/Documentation/power/
Dbasic-pm-debugging.rst259 last_failed_dev: alarm
/kernel/linux/patches/linux-5.10/yangfan_patch/
Dkernel.patch973 + last_dev = suspend_stats.last_failed_dev + REC_FAILED_NUM - 1;
985 + last_dev = suspend_stats.last_failed_dev + REC_FAILED_NUM - 1;