Home
last modified time | relevance | path

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

/Linux-v4.19/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 …]
/Linux-v4.19/kernel/power/
Dmain.c270 last_dev = suspend_stats.last_failed_dev + REC_FAILED_NUM - 1; in suspend_stats_show()
272 last_errno = suspend_stats.last_failed_errno + REC_FAILED_NUM - 1; in suspend_stats_show()
274 last_step = suspend_stats.last_failed_step + REC_FAILED_NUM - 1; in suspend_stats_show()
278 "success", suspend_stats.success, in suspend_stats_show()
279 "fail", suspend_stats.fail, in suspend_stats_show()
280 "failed_freeze", suspend_stats.failed_freeze, in suspend_stats_show()
281 "failed_prepare", suspend_stats.failed_prepare, in suspend_stats_show()
282 "failed_suspend", suspend_stats.failed_suspend, in suspend_stats_show()
284 suspend_stats.failed_suspend_late, in suspend_stats_show()
286 suspend_stats.failed_suspend_noirq, in suspend_stats_show()
[all …]
Dsuspend.c370 suspend_stats.failed_freeze++; in suspend_prepare()
620 suspend_stats.fail++; in pm_suspend()
623 suspend_stats.success++; in pm_suspend()
/Linux-v4.19/drivers/net/wireless/ath/wil6210/
Dpm.c144 wil->suspend_stats.rejected_by_host++; in wil_can_suspend()
203 wil->suspend_stats.rejected_by_host++; in wil_suspend_keep_radio_on()
210 wil->suspend_stats.rejected_by_host++; in wil_suspend_keep_radio_on()
216 wil->suspend_stats.rejected_by_host++; in wil_suspend_keep_radio_on()
222 wil->suspend_stats.rejected_by_host++; in wil_suspend_keep_radio_on()
244 wil->suspend_stats.r_on.failed_suspends++; in wil_suspend_keep_radio_on()
260 wil->suspend_stats.r_on.failed_suspends++; in wil_suspend_keep_radio_on()
274 wil->suspend_stats.r_on.failed_suspends++; in wil_suspend_keep_radio_on()
319 wil->suspend_stats.rejected_by_host++; in wil_suspend_radio_off()
332 wil->suspend_stats.r_off.failed_suspends++; in wil_suspend_radio_off()
[all …]
Dpcie_bus.c531 wil->suspend_stats.r_off.successful_suspends++; in wil6210_suspend()
533 wil->suspend_stats.r_on.successful_suspends++; in wil6210_suspend()
565 wil->suspend_stats.r_off.failed_resumes++; in wil6210_resume()
567 wil->suspend_stats.r_on.failed_resumes++; in wil6210_resume()
571 wil->suspend_stats.r_on.successful_resumes++; in wil6210_resume()
573 wil->suspend_stats.r_off.successful_resumes++; in wil6210_resume()
Ddebugfs.c2311 memset(&wil->suspend_stats, 0, sizeof(wil->suspend_stats)); in wil_write_suspend_stats()
2338 wil->suspend_stats.r_on.successful_suspends, in wil_read_suspend_stats()
2339 wil->suspend_stats.r_on.failed_suspends, in wil_read_suspend_stats()
2340 wil->suspend_stats.r_on.successful_resumes, in wil_read_suspend_stats()
2341 wil->suspend_stats.r_on.failed_resumes, in wil_read_suspend_stats()
2342 wil->suspend_stats.rejected_by_device, in wil_read_suspend_stats()
2343 wil->suspend_stats.r_off.successful_suspends, in wil_read_suspend_stats()
2344 wil->suspend_stats.r_off.failed_suspends, in wil_read_suspend_stats()
2345 wil->suspend_stats.r_off.successful_resumes, in wil_read_suspend_stats()
2346 wil->suspend_stats.r_off.failed_resumes, in wil_read_suspend_stats()
[all …]
Dwmi.c2597 wil->suspend_stats.rejected_by_device++; in wmi_suspend()
2599 wil->suspend_stats.rejected_by_host++; in wmi_suspend()
2612 wil->suspend_stats.rejected_by_host++; in wmi_suspend()
2614 wil->suspend_stats.rejected_by_device++; in wmi_suspend()
2623 wil->suspend_stats.rejected_by_device++; in wmi_suspend()
Dmain.c648 memset(&wil->suspend_stats, 0, sizeof(wil->suspend_stats)); in wil_priv_init()
Dwil6210.h976 struct wil_suspend_stats suspend_stats; member
/Linux-v4.19/drivers/platform/x86/
Dintel_telemetry_debugfs.c248 struct telemetry_susp_stats suspend_stats; member
591 conf->suspend_stats.shlw_ctr, in telem_soc_states_show()
593 conf->suspend_stats.shlw_res)*10/192)); in telem_soc_states_show()
597 conf->suspend_stats.deep_ctr, in telem_soc_states_show()
599 conf->suspend_stats.deep_res)*10/192)); in telem_soc_states_show()
602 conf->suspend_stats.shlw_ctr, in telem_soc_states_show()
603 (u64)(conf->suspend_stats.shlw_res*10)/192); in telem_soc_states_show()
606 conf->suspend_stats.deep_ctr, in telem_soc_states_show()
607 (u64)(conf->suspend_stats.deep_res*10)/192); in telem_soc_states_show()
903 conf->suspend_stats.shlw_ctr += in pm_suspend_exit_cb()
[all …]
/Linux-v4.19/drivers/base/power/
Dmain.c58 struct suspend_stats suspend_stats; variable
744 suspend_stats.failed_resume_noirq++; in dpm_noirq_resume_devices()
901 suspend_stats.failed_resume_early++; in dpm_resume_early()
1064 suspend_stats.failed_resume++; in dpm_resume()
1420 suspend_stats.failed_suspend_noirq++; in dpm_noirq_suspend_devices()
1621 suspend_stats.failed_suspend_late++; in dpm_suspend_late()
1886 suspend_stats.failed_suspend++; in dpm_suspend()
2042 suspend_stats.failed_prepare++; in dpm_suspend_start()
/Linux-v4.19/Documentation/power/
Dbasic-pm-debugging.txt235 # cat /sys/kernel/debug/suspend_stats
253 to RAM. suspend_stats just lists the last 2 failed devices, error number and