Lines Matching refs:conf

346 	struct telemetry_debugfs_conf *conf = debugfs_conf;  in telem_pss_states_show()  local
374 if (evtlog[index].telem_evtid == conf->pss_idle_id) { in telem_pss_states_show()
375 pss_idle[conf->pss_idle_evts - 1] = in telem_pss_states_show()
377 conf->pss_idle_data[conf->pss_idle_evts - 1].bit_pos) & in telem_pss_states_show()
381 TELEM_CHECK_AND_PARSE_EVTS(conf->pss_idle_id, in telem_pss_states_show()
382 conf->pss_idle_evts - 1, in telem_pss_states_show()
384 conf->pss_idle_data, TELEM_MASK_BIT); in telem_pss_states_show()
386 TELEM_CHECK_AND_PARSE_EVTS(conf->pcs_idle_blkd_id, in telem_pss_states_show()
387 conf->pcs_idle_blkd_evts, in telem_pss_states_show()
390 conf->pcs_idle_blkd_data, in telem_pss_states_show()
393 TELEM_CHECK_AND_PARSE_EVTS(conf->pcs_s0ix_blkd_id, in telem_pss_states_show()
394 conf->pcs_s0ix_blkd_evts, in telem_pss_states_show()
397 conf->pcs_s0ix_blkd_data, in telem_pss_states_show()
400 TELEM_CHECK_AND_PARSE_EVTS(conf->pss_wakeup_id, in telem_pss_states_show()
401 conf->pss_wakeup_evts, in telem_pss_states_show()
404 conf->pss_wakeup, TELEM_MASK_BYTE); in telem_pss_states_show()
406 TELEM_CHECK_AND_PARSE_EVTS(conf->pss_ltr_blocking_id, in telem_pss_states_show()
407 conf->pss_ltr_evts, pss_ltr_blkd, in telem_pss_states_show()
409 conf->pss_ltr_data, TELEM_MASK_BYTE); in telem_pss_states_show()
538 struct telemetry_debugfs_conf *conf = debugfs_conf; in telem_soc_states_show() local
550 TELEM_CHECK_AND_PARSE_EVTS(conf->ioss_d3_id, in telem_soc_states_show()
551 conf->ioss_d0ix_evts, in telem_soc_states_show()
553 conf->ioss_d0ix_data, in telem_soc_states_show()
556 TELEM_CHECK_AND_PARSE_EVTS(conf->ioss_pg_id, conf->ioss_pg_evts, in telem_soc_states_show()
558 conf->ioss_pg_data, TELEM_MASK_BIT); in telem_soc_states_show()
560 TELEM_CHECK_AND_PARSE_EVTS(conf->ioss_d0ix_id, in telem_soc_states_show()
561 conf->ioss_d0ix_evts, in telem_soc_states_show()
563 conf->ioss_d0ix_data, in telem_soc_states_show()
566 TELEM_CHECK_AND_PARSE_CTRS(conf->s0ix_total_occ_id, in telem_soc_states_show()
569 TELEM_CHECK_AND_PARSE_CTRS(conf->s0ix_shlw_occ_id, in telem_soc_states_show()
572 TELEM_CHECK_AND_PARSE_CTRS(conf->s0ix_deep_occ_id, in telem_soc_states_show()
575 TELEM_CHECK_AND_PARSE_CTRS(conf->s0ix_total_res_id, in telem_soc_states_show()
578 TELEM_CHECK_AND_PARSE_CTRS(conf->s0ix_shlw_res_id, in telem_soc_states_show()
581 TELEM_CHECK_AND_PARSE_CTRS(conf->s0ix_deep_res_id, in telem_soc_states_show()
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()
630 for (index = 0; index < conf->ioss_d0ix_evts; index++) { in telem_soc_states_show()
632 conf->ioss_d0ix_data[index].name, in telem_soc_states_show()
640 for (index = 0; index < conf->ioss_pg_evts; index++) { in telem_soc_states_show()
642 conf->ioss_pg_data[index].name, in telem_soc_states_show()
646 evtlog->telem_evtid = conf->pss_idle_id; in telem_soc_states_show()
654 for (idx = 0; idx < conf->pss_idle_evts - 1; idx++) { in telem_soc_states_show()
656 conf->pss_idle_data[idx].bit_pos) & in telem_soc_states_show()
661 conf->pss_idle_data[idx].bit_pos) & in telem_soc_states_show()
664 for (index = 0; index < conf->pss_idle_evts; index++) { in telem_soc_states_show()
666 conf->pss_idle_data[index].name, in telem_soc_states_show()
805 struct telemetry_debugfs_conf *conf = debugfs_conf; in pm_suspend_prep_cb() local
817 TELEM_CHECK_AND_PARSE_CTRS(conf->s0ix_shlw_occ_id, in pm_suspend_prep_cb()
820 TELEM_CHECK_AND_PARSE_CTRS(conf->s0ix_deep_occ_id, in pm_suspend_prep_cb()
823 TELEM_CHECK_AND_PARSE_CTRS(conf->s0ix_shlw_res_id, in pm_suspend_prep_cb()
826 TELEM_CHECK_AND_PARSE_CTRS(conf->s0ix_deep_res_id, in pm_suspend_prep_cb()
839 struct telemetry_debugfs_conf *conf = debugfs_conf; in pm_suspend_exit_cb() local
851 TELEM_CHECK_AND_PARSE_CTRS(conf->s0ix_shlw_occ_id, in pm_suspend_exit_cb()
854 TELEM_CHECK_AND_PARSE_CTRS(conf->s0ix_deep_occ_id, in pm_suspend_exit_cb()
857 TELEM_CHECK_AND_PARSE_CTRS(conf->s0ix_shlw_res_id, in pm_suspend_exit_cb()
860 TELEM_CHECK_AND_PARSE_CTRS(conf->s0ix_deep_res_id, in pm_suspend_exit_cb()
903 conf->suspend_stats.shlw_ctr += in pm_suspend_exit_cb()
906 conf->suspend_stats.shlw_res += in pm_suspend_exit_cb()
911 conf->suspend_stats.deep_ctr += in pm_suspend_exit_cb()
914 conf->suspend_stats.deep_res += in pm_suspend_exit_cb()