Lines Matching refs:index
68 if (evtlog[index].telem_evtid == (EVTID)) { \
77 if (evtlog[index].telem_evtid == (EVTID)) { \
78 (CTR) = evtlog[index].telem_evtlog; \
341 int index, idx, ret, err = 0; in telem_pss_states_show() local
357 for (index = 0; index < ret; index++) { in telem_pss_states_show()
359 name[index], evtlog[index].telem_evtlog); in telem_pss_states_show()
362 if (evtlog[index].telem_evtid == conf->pss_idle_id) { in telem_pss_states_show()
364 (evtlog[index].telem_evtlog >> in telem_pss_states_show()
371 pss_idle, evtlog[index].telem_evtlog, in telem_pss_states_show()
377 evtlog[index].telem_evtlog, in telem_pss_states_show()
384 evtlog[index].telem_evtlog, in telem_pss_states_show()
391 evtlog[index].telem_evtlog, in telem_pss_states_show()
396 evtlog[index].telem_evtlog, in telem_pss_states_show()
399 if (evtlog[index].telem_evtid == debugfs_conf->pstates_id) in telem_pss_states_show()
400 pstates = evtlog[index].telem_evtlog; in telem_pss_states_show()
419 for (index = 0; index < debugfs_conf->pss_idle_evts; index++) { in telem_pss_states_show()
421 debugfs_conf->pss_idle_data[index].name, in telem_pss_states_show()
422 pss_idle[index]); in telem_pss_states_show()
429 for (index = 0; index < debugfs_conf->pcs_idle_blkd_evts; index++) { in telem_pss_states_show()
431 debugfs_conf->pcs_idle_blkd_data[index].name, in telem_pss_states_show()
432 pcs_idle_blkd[index]); in telem_pss_states_show()
439 for (index = 0; index < debugfs_conf->pcs_s0ix_blkd_evts; index++) { in telem_pss_states_show()
441 debugfs_conf->pcs_s0ix_blkd_data[index].name, in telem_pss_states_show()
442 pcs_s0ix_blkd[index]); in telem_pss_states_show()
449 for (index = 0; index < debugfs_conf->pss_ltr_evts; index++) { in telem_pss_states_show()
451 debugfs_conf->pss_ltr_data[index].name, in telem_pss_states_show()
452 pss_s0ix_wakeup[index]); in telem_pss_states_show()
459 for (index = 0; index < debugfs_conf->pss_wakeup_evts; index++) { in telem_pss_states_show()
461 debugfs_conf->pss_wakeup[index].name, in telem_pss_states_show()
462 pss_ltr_blkd[index]); in telem_pss_states_show()
474 int index, ret, err; in telem_ioss_states_show() local
489 for (index = 0; index < ret; index++) { in telem_ioss_states_show()
491 name[index], evtlog[index].telem_evtlog); in telem_ioss_states_show()
508 int index, idx, ret; in telem_soc_states_show() local
517 for (index = 0; index < ret; index++) { in telem_soc_states_show()
520 d3_sts, evtlog[index].telem_evtlog, in telem_soc_states_show()
525 pg_sts, evtlog[index].telem_evtlog, in telem_soc_states_show()
530 d0ix_sts, evtlog[index].telem_evtlog, 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()
601 d3_sts[index], d0ix_sts[index]); 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()
611 pg_sts[index]); 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()
635 pss_idle[index]); in telem_soc_states_show()
767 int ret, index; in pm_suspend_prep_cb() local
776 for (index = 0; index < ret; index++) { in pm_suspend_prep_cb()
801 int ret, index; in pm_suspend_exit_cb() local
811 for (index = 0; index < ret; index++) { in pm_suspend_exit_cb()