Home
last modified time | relevance | path

Searched refs:suspend_stats (Results 1 - 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
H A Dsuspend.h54 struct suspend_stats { struct
74 extern struct suspend_stats suspend_stats;
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 in dpm_save_failed_errno()
[all...]
/kernel/linux/linux-6.6/kernel/power/
H A Dmain.c116 suspend_stats.last_hw_sleep = t; in pm_report_hw_sleep_time()
117 suspend_stats.total_hw_sleep += t; in pm_report_hw_sleep_time()
123 suspend_stats.max_hw_sleep = t; in pm_report_max_hw_sleep()
362 return sprintf(buf, format_str, suspend_stats._name); \
386 index = suspend_stats.last_failed_dev + REC_FAILED_NUM - 1; in last_failed_dev_show()
388 last_failed_dev = suspend_stats.failed_devs[index]; in last_failed_dev_show()
400 index = suspend_stats.last_failed_errno + REC_FAILED_NUM - 1; in last_failed_errno_show()
402 last_failed_errno = suspend_stats.errno[index]; in last_failed_errno_show()
415 index = suspend_stats.last_failed_step + REC_FAILED_NUM - 1; in last_failed_step_show()
417 step = suspend_stats in last_failed_step_show()
520 DEFINE_SHOW_ATTRIBUTE(suspend_stats); global() variable
[all...]
H A Dsuspend.c371 suspend_stats.failed_freeze++; in suspend_prepare()
622 suspend_stats.fail++; in pm_suspend()
625 suspend_stats.success++; in pm_suspend()
/kernel/linux/linux-6.6/include/linux/
H A Dsuspend.h54 struct suspend_stats { struct
77 extern struct suspend_stats suspend_stats;
81 strscpy(suspend_stats.failed_devs[suspend_stats.last_failed_dev], in dpm_save_failed_dev()
83 sizeof(suspend_stats.failed_devs[0])); in dpm_save_failed_dev()
84 suspend_stats.last_failed_dev++; in dpm_save_failed_dev()
85 suspend_stats.last_failed_dev %= REC_FAILED_NUM; in dpm_save_failed_dev()
90 suspend_stats.errno[suspend_stats in dpm_save_failed_errno()
[all...]
/kernel/linux/linux-5.10/kernel/power/
H A 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()
391 .name = "suspend_stats",
400 last_dev = suspend_stats.last_failed_dev + REC_FAILED_NUM - 1; in suspend_stats_show()
402 last_errno = suspend_stats in suspend_stats_show()
451 DEFINE_SHOW_ATTRIBUTE(suspend_stats); global() variable
[all...]
H A Dsuspend.c360 suspend_stats.failed_freeze++; in suspend_prepare()
611 suspend_stats.fail++; in pm_suspend()
614 suspend_stats.success++; in pm_suspend()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/wil6210/
H A 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 in wil_suspend_radio_off()
[all...]
H A 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()
H A Ddebugfs.c2214 /*---------suspend_stats---------*/
2221 memset(&wil->suspend_stats, 0, sizeof(wil->suspend_stats)); in wil_write_suspend_stats()
2248 wil->suspend_stats.r_on.successful_suspends, in wil_read_suspend_stats()
2249 wil->suspend_stats.r_on.failed_suspends, in wil_read_suspend_stats()
2250 wil->suspend_stats.r_on.successful_resumes, in wil_read_suspend_stats()
2251 wil->suspend_stats.r_on.failed_resumes, in wil_read_suspend_stats()
2252 wil->suspend_stats.rejected_by_device, in wil_read_suspend_stats()
2253 wil->suspend_stats.r_off.successful_suspends, in wil_read_suspend_stats()
2254 wil->suspend_stats in wil_read_suspend_stats()
[all...]
H A 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()
H A Dmain.c743 memset(&wil->suspend_stats, 0, sizeof(wil->suspend_stats)); in wil_priv_init()
H A Dwil6210.h1013 struct wil_suspend_stats suspend_stats; member
/kernel/linux/linux-6.6/drivers/net/wireless/ath/wil6210/
H A 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 in wil_suspend_radio_off()
[all...]
H A Dpcie_bus.c524 wil->suspend_stats.r_off.successful_suspends++; in wil6210_suspend()
526 wil->suspend_stats.r_on.successful_suspends++; in wil6210_suspend()
558 wil->suspend_stats.r_off.failed_resumes++; in wil6210_resume()
560 wil->suspend_stats.r_on.failed_resumes++; in wil6210_resume()
564 wil->suspend_stats.r_on.successful_resumes++; in wil6210_resume()
566 wil->suspend_stats.r_off.successful_resumes++; in wil6210_resume()
H A Ddebugfs.c2182 /*---------suspend_stats---------*/
2189 memset(&wil->suspend_stats, 0, sizeof(wil->suspend_stats)); in wil_write_suspend_stats()
2216 wil->suspend_stats.r_on.successful_suspends, in wil_read_suspend_stats()
2217 wil->suspend_stats.r_on.failed_suspends, in wil_read_suspend_stats()
2218 wil->suspend_stats.r_on.successful_resumes, in wil_read_suspend_stats()
2219 wil->suspend_stats.r_on.failed_resumes, in wil_read_suspend_stats()
2220 wil->suspend_stats.rejected_by_device, in wil_read_suspend_stats()
2221 wil->suspend_stats.r_off.successful_suspends, in wil_read_suspend_stats()
2222 wil->suspend_stats in wil_read_suspend_stats()
[all...]
H A Dwmi.c3127 wil->suspend_stats.rejected_by_device++; in wmi_suspend()
3129 wil->suspend_stats.rejected_by_host++; in wmi_suspend()
3142 wil->suspend_stats.rejected_by_host++; in wmi_suspend()
3144 wil->suspend_stats.rejected_by_device++; in wmi_suspend()
3153 wil->suspend_stats.rejected_by_device++; in wmi_suspend()
H A Dmain.c743 memset(&wil->suspend_stats, 0, sizeof(wil->suspend_stats)); in wil_priv_init()
H A Dwil6210.h1015 struct wil_suspend_stats suspend_stats; member
/kernel/linux/linux-5.10/drivers/platform/x86/
H A 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 in pm_suspend_exit_cb()
[all...]
/kernel/linux/linux-6.6/drivers/platform/x86/intel/telemetry/
H A Ddebugfs.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 in pm_suspend_exit_cb()
[all...]
/kernel/linux/linux-5.10/drivers/base/power/
H A Dmain.c64 struct suspend_stats suspend_stats; variable
664 suspend_stats.failed_resume_noirq++; in __device_resume_noirq()
818 suspend_stats.failed_resume_early++; in __device_resume_early()
973 suspend_stats.failed_resume++; in __device_resume()
1328 suspend_stats.failed_suspend_noirq++; in dpm_noirq_suspend_devices()
1515 suspend_stats.failed_suspend_late++; in dpm_suspend_late()
1795 suspend_stats.failed_suspend++; in dpm_suspend()
1949 suspend_stats.failed_prepare++; in dpm_suspend_start()
/kernel/linux/linux-6.6/drivers/base/power/
H A Dmain.c63 struct suspend_stats suspend_stats; variable
660 suspend_stats.failed_resume_noirq++; in __device_resume_noirq()
812 suspend_stats.failed_resume_early++; in __device_resume_early()
967 suspend_stats.failed_resume++; in __device_resume()
1322 suspend_stats.failed_suspend_noirq++; in dpm_noirq_suspend_devices()
1508 suspend_stats.failed_suspend_late++; in dpm_suspend_late()
1788 suspend_stats.failed_suspend++; in dpm_suspend()
1942 suspend_stats.failed_prepare++; in dpm_suspend_start()

Completed in 42 milliseconds