Home
last modified time | relevance | path

Searched refs:suspend_stats (Results 1 – 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Dsuspend.h54 struct suspend_stats { struct
74 extern struct suspend_stats suspend_stats; argument
78 strlcpy(suspend_stats.failed_devs[suspend_stats.last_failed_dev], in dpm_save_failed_dev()
80 sizeof(suspend_stats.failed_devs[0])); 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()
87 suspend_stats.errno[suspend_stats.last_failed_errno] = err; in dpm_save_failed_errno()
88 suspend_stats.last_failed_errno++; in dpm_save_failed_errno()
89 suspend_stats.last_failed_errno %= REC_FAILED_NUM; in dpm_save_failed_errno()
94 suspend_stats.failed_steps[suspend_stats.last_failed_step] = step; in dpm_save_failed_step()
[all …]
/kernel/linux/linux-5.10/kernel/power/
Dmain.c314 return sprintf(buf, "%d\n", suspend_stats._name); \
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()
349 index = suspend_stats.last_failed_errno + REC_FAILED_NUM - 1; in last_failed_errno_show()
351 last_failed_errno = suspend_stats.errno[index]; in last_failed_errno_show()
364 index = suspend_stats.last_failed_step + REC_FAILED_NUM - 1; in last_failed_step_show()
366 step = suspend_stats.failed_steps[index]; in last_failed_step_show()
400 last_dev = suspend_stats.last_failed_dev + REC_FAILED_NUM - 1; in suspend_stats_show()
402 last_errno = suspend_stats.last_failed_errno + REC_FAILED_NUM - 1; in suspend_stats_show()
404 last_step = suspend_stats.last_failed_step + REC_FAILED_NUM - 1; in suspend_stats_show()
[all …]
Dsuspend.c362 suspend_stats.failed_freeze++; in suspend_prepare()
613 suspend_stats.fail++; in pm_suspend()
616 suspend_stats.success++; in pm_suspend()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/wil6210/
Dpm.c133 wil->suspend_stats.rejected_by_host++; in wil_can_suspend()
192 wil->suspend_stats.rejected_by_host++; in wil_suspend_keep_radio_on()
203 wil->suspend_stats.rejected_by_host++; in wil_suspend_keep_radio_on()
209 wil->suspend_stats.rejected_by_host++; in wil_suspend_keep_radio_on()
215 wil->suspend_stats.rejected_by_host++; in wil_suspend_keep_radio_on()
236 wil->suspend_stats.r_on.failed_suspends++; in wil_suspend_keep_radio_on()
252 wil->suspend_stats.r_on.failed_suspends++; in wil_suspend_keep_radio_on()
266 wil->suspend_stats.r_on.failed_suspends++; in wil_suspend_keep_radio_on()
311 wil->suspend_stats.rejected_by_host++; in wil_suspend_radio_off()
327 wil->suspend_stats.r_off.failed_suspends++; in wil_suspend_radio_off()
[all …]
Dpcie_bus.c522 wil->suspend_stats.r_off.successful_suspends++; in wil6210_suspend()
524 wil->suspend_stats.r_on.successful_suspends++; in wil6210_suspend()
556 wil->suspend_stats.r_off.failed_resumes++; in wil6210_resume()
558 wil->suspend_stats.r_on.failed_resumes++; in wil6210_resume()
562 wil->suspend_stats.r_on.successful_resumes++; in wil6210_resume()
564 wil->suspend_stats.r_off.successful_resumes++; in wil6210_resume()
Ddebugfs.c2227 memset(&wil->suspend_stats, 0, sizeof(wil->suspend_stats)); in wil_write_suspend_stats()
2254 wil->suspend_stats.r_on.successful_suspends, in wil_read_suspend_stats()
2255 wil->suspend_stats.r_on.failed_suspends, in wil_read_suspend_stats()
2256 wil->suspend_stats.r_on.successful_resumes, in wil_read_suspend_stats()
2257 wil->suspend_stats.r_on.failed_resumes, in wil_read_suspend_stats()
2258 wil->suspend_stats.rejected_by_device, in wil_read_suspend_stats()
2259 wil->suspend_stats.r_off.successful_suspends, in wil_read_suspend_stats()
2260 wil->suspend_stats.r_off.failed_suspends, in wil_read_suspend_stats()
2261 wil->suspend_stats.r_off.successful_resumes, in wil_read_suspend_stats()
2262 wil->suspend_stats.r_off.failed_resumes, in wil_read_suspend_stats()
[all …]
Dwmi.c3126 wil->suspend_stats.rejected_by_device++; in wmi_suspend()
3128 wil->suspend_stats.rejected_by_host++; in wmi_suspend()
3141 wil->suspend_stats.rejected_by_host++; in wmi_suspend()
3143 wil->suspend_stats.rejected_by_device++; in wmi_suspend()
3152 wil->suspend_stats.rejected_by_device++; in wmi_suspend()
Dmain.c743 memset(&wil->suspend_stats, 0, sizeof(wil->suspend_stats)); in wil_priv_init()
Dwil6210.h1013 struct wil_suspend_stats suspend_stats; member
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-power310 What: /sys/power/suspend_stats
314 The /sys/power/suspend_stats directory contains suspend related
317 What: /sys/power/suspend_stats/success
321 The /sys/power/suspend_stats/success file contains the number
324 What: /sys/power/suspend_stats/fail
328 The /sys/power/suspend_stats/fail file contains the number
331 What: /sys/power/suspend_stats/failed_freeze
335 The /sys/power/suspend_stats/failed_freeze file contains the
338 What: /sys/power/suspend_stats/failed_prepare
342 The /sys/power/suspend_stats/failed_prepare file contains the
[all …]
/kernel/linux/linux-5.10/drivers/platform/x86/
Dintel_telemetry_debugfs.c237 struct telemetry_susp_stats suspend_stats; member
559 conf->suspend_stats.shlw_ctr, in telem_soc_states_show()
561 conf->suspend_stats.shlw_res)*10/192)); in telem_soc_states_show()
565 conf->suspend_stats.deep_ctr, in telem_soc_states_show()
567 conf->suspend_stats.deep_res)*10/192)); in telem_soc_states_show()
570 conf->suspend_stats.shlw_ctr, in telem_soc_states_show()
571 (u64)(conf->suspend_stats.shlw_res*10)/192); in telem_soc_states_show()
574 conf->suspend_stats.deep_ctr, in telem_soc_states_show()
575 (u64)(conf->suspend_stats.deep_res*10)/192); in telem_soc_states_show()
867 conf->suspend_stats.shlw_ctr += in pm_suspend_exit_cb()
[all …]
/kernel/linux/linux-5.10/drivers/base/power/
Dmain.c63 struct suspend_stats suspend_stats; variable
723 suspend_stats.failed_resume_noirq++; in dpm_noirq_resume_devices()
864 suspend_stats.failed_resume_early++; in dpm_resume_early()
1024 suspend_stats.failed_resume++; in dpm_resume()
1323 suspend_stats.failed_suspend_noirq++; in dpm_noirq_suspend_devices()
1505 suspend_stats.failed_suspend_late++; in dpm_suspend_late()
1779 suspend_stats.failed_suspend++; in dpm_suspend()
1930 suspend_stats.failed_prepare++; in dpm_suspend_start()
/kernel/linux/patches/linux-5.10/yangfan_patch/
Dkernel.patch952 suspend_stats.failed_freeze++;
968 + last_dev = suspend_stats.last_failed_dev + REC_FAILED_NUM - 1;
972 + suspend_stats.failed_devs[last_dev]);
980 + last_dev = suspend_stats.last_failed_dev + REC_FAILED_NUM - 1;
984 + suspend_stats.failed_devs[last_dev]);
/kernel/linux/linux-5.10/Documentation/power/
Dbasic-pm-debugging.rst249 # cat /sys/kernel/debug/suspend_stats
268 to RAM. suspend_stats just lists the last 2 failed devices, error number and