Lines Matching refs:conf
334 struct telemetry_debugfs_conf *conf = debugfs_conf; in telem_pss_states_show() local
362 if (evtlog[index].telem_evtid == conf->pss_idle_id) { in telem_pss_states_show()
363 pss_idle[conf->pss_idle_evts - 1] = in telem_pss_states_show()
365 conf->pss_idle_data[conf->pss_idle_evts - 1].bit_pos) & in telem_pss_states_show()
369 TELEM_CHECK_AND_PARSE_EVTS(conf->pss_idle_id, in telem_pss_states_show()
370 conf->pss_idle_evts - 1, in telem_pss_states_show()
372 conf->pss_idle_data, TELEM_MASK_BIT); in telem_pss_states_show()
374 TELEM_CHECK_AND_PARSE_EVTS(conf->pcs_idle_blkd_id, in telem_pss_states_show()
375 conf->pcs_idle_blkd_evts, in telem_pss_states_show()
378 conf->pcs_idle_blkd_data, in telem_pss_states_show()
381 TELEM_CHECK_AND_PARSE_EVTS(conf->pcs_s0ix_blkd_id, in telem_pss_states_show()
382 conf->pcs_s0ix_blkd_evts, in telem_pss_states_show()
385 conf->pcs_s0ix_blkd_data, in telem_pss_states_show()
388 TELEM_CHECK_AND_PARSE_EVTS(conf->pss_wakeup_id, in telem_pss_states_show()
389 conf->pss_wakeup_evts, in telem_pss_states_show()
392 conf->pss_wakeup, TELEM_MASK_BYTE); in telem_pss_states_show()
394 TELEM_CHECK_AND_PARSE_EVTS(conf->pss_ltr_blocking_id, in telem_pss_states_show()
395 conf->pss_ltr_evts, pss_ltr_blkd, in telem_pss_states_show()
397 conf->pss_ltr_data, TELEM_MASK_BYTE); in telem_pss_states_show()
506 struct telemetry_debugfs_conf *conf = debugfs_conf; in telem_soc_states_show() local
518 TELEM_CHECK_AND_PARSE_EVTS(conf->ioss_d3_id, in telem_soc_states_show()
519 conf->ioss_d0ix_evts, in telem_soc_states_show()
521 conf->ioss_d0ix_data, in telem_soc_states_show()
524 TELEM_CHECK_AND_PARSE_EVTS(conf->ioss_pg_id, conf->ioss_pg_evts, in telem_soc_states_show()
526 conf->ioss_pg_data, TELEM_MASK_BIT); in telem_soc_states_show()
528 TELEM_CHECK_AND_PARSE_EVTS(conf->ioss_d0ix_id, in telem_soc_states_show()
529 conf->ioss_d0ix_evts, in telem_soc_states_show()
531 conf->ioss_d0ix_data, in telem_soc_states_show()
534 TELEM_CHECK_AND_PARSE_CTRS(conf->s0ix_total_occ_id, in telem_soc_states_show()
537 TELEM_CHECK_AND_PARSE_CTRS(conf->s0ix_shlw_occ_id, in telem_soc_states_show()
540 TELEM_CHECK_AND_PARSE_CTRS(conf->s0ix_deep_occ_id, in telem_soc_states_show()
543 TELEM_CHECK_AND_PARSE_CTRS(conf->s0ix_total_res_id, in telem_soc_states_show()
546 TELEM_CHECK_AND_PARSE_CTRS(conf->s0ix_shlw_res_id, in telem_soc_states_show()
549 TELEM_CHECK_AND_PARSE_CTRS(conf->s0ix_deep_res_id, in telem_soc_states_show()
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()
598 for (index = 0; index < conf->ioss_d0ix_evts; index++) { in telem_soc_states_show()
600 conf->ioss_d0ix_data[index].name, in telem_soc_states_show()
608 for (index = 0; index < conf->ioss_pg_evts; index++) { in telem_soc_states_show()
610 conf->ioss_pg_data[index].name, in telem_soc_states_show()
614 evtlog->telem_evtid = conf->pss_idle_id; in telem_soc_states_show()
622 for (idx = 0; idx < conf->pss_idle_evts - 1; idx++) { in telem_soc_states_show()
624 conf->pss_idle_data[idx].bit_pos) & in telem_soc_states_show()
629 conf->pss_idle_data[idx].bit_pos) & in telem_soc_states_show()
632 for (index = 0; index < conf->pss_idle_evts; index++) { in telem_soc_states_show()
634 conf->pss_idle_data[index].name, in telem_soc_states_show()
766 struct telemetry_debugfs_conf *conf = debugfs_conf; in pm_suspend_prep_cb() local
778 TELEM_CHECK_AND_PARSE_CTRS(conf->s0ix_shlw_occ_id, in pm_suspend_prep_cb()
781 TELEM_CHECK_AND_PARSE_CTRS(conf->s0ix_deep_occ_id, in pm_suspend_prep_cb()
784 TELEM_CHECK_AND_PARSE_CTRS(conf->s0ix_shlw_res_id, in pm_suspend_prep_cb()
787 TELEM_CHECK_AND_PARSE_CTRS(conf->s0ix_deep_res_id, in pm_suspend_prep_cb()
800 struct telemetry_debugfs_conf *conf = debugfs_conf; in pm_suspend_exit_cb() local
812 TELEM_CHECK_AND_PARSE_CTRS(conf->s0ix_shlw_occ_id, in pm_suspend_exit_cb()
815 TELEM_CHECK_AND_PARSE_CTRS(conf->s0ix_deep_occ_id, in pm_suspend_exit_cb()
818 TELEM_CHECK_AND_PARSE_CTRS(conf->s0ix_shlw_res_id, in pm_suspend_exit_cb()
821 TELEM_CHECK_AND_PARSE_CTRS(conf->s0ix_deep_res_id, in pm_suspend_exit_cb()
867 conf->suspend_stats.shlw_ctr += in pm_suspend_exit_cb()
870 conf->suspend_stats.shlw_res += in pm_suspend_exit_cb()
875 conf->suspend_stats.deep_ctr += in pm_suspend_exit_cb()
878 conf->suspend_stats.deep_res += in pm_suspend_exit_cb()