Lines Matching refs:rci_index
1139 unsigned int rci_index; /* Maps data from perf counters to global variables */ member
1154 .rci_index = RAPL_RCI_INDEX_ENERGY_PKG,
1167 .rci_index = RAPL_RCI_INDEX_ENERGY_PKG,
1180 .rci_index = RAPL_RCI_INDEX_ENERGY_CORES,
1193 .rci_index = RAPL_RCI_INDEX_DRAM,
1206 .rci_index = RAPL_RCI_INDEX_GFX,
1219 .rci_index = RAPL_RCI_INDEX_PKG_PERF_STATUS,
1232 .rci_index = RAPL_RCI_INDEX_DRAM_PERF_STATUS,
1245 .rci_index = RAPL_RCI_INDEX_CORE_ENERGY,
1294 unsigned int rci_index; /* Maps data from perf counters to global variables */ member
1306 .rci_index = CCSTATE_RCI_INDEX_C1_RESIDENCY,
1316 .rci_index = CCSTATE_RCI_INDEX_C3_RESIDENCY,
1326 .rci_index = CCSTATE_RCI_INDEX_C6_RESIDENCY,
1336 .rci_index = CCSTATE_RCI_INDEX_C7_RESIDENCY,
1346 .rci_index = PCSTATE_RCI_INDEX_C2_RESIDENCY,
1356 .rci_index = PCSTATE_RCI_INDEX_C3_RESIDENCY,
1366 .rci_index = PCSTATE_RCI_INDEX_C6_RESIDENCY,
1376 .rci_index = PCSTATE_RCI_INDEX_C7_RESIDENCY,
1386 .rci_index = PCSTATE_RCI_INDEX_C8_RESIDENCY,
1396 .rci_index = PCSTATE_RCI_INDEX_C9_RESIDENCY,
1406 .rci_index = PCSTATE_RCI_INDEX_C10_RESIDENCY,
1437 unsigned int rci_index; /* Maps data from perf counters to global variables */ member
1454 .rci_index = MSR_RCI_INDEX_APERF,
1462 .rci_index = MSR_RCI_INDEX_MPERF,
1470 .rci_index = MSR_RCI_INDEX_SMI,
7583 rci->source[cai->rci_index] = COUNTER_SOURCE_PERF; in rapl_perf_init()
7584 rci->scale[cai->rci_index] = scale * cai->compat_scale; in rapl_perf_init()
7585 rci->unit[cai->rci_index] = unit; in rapl_perf_init()
7586 rci->flags[cai->rci_index] = cai->flags; in rapl_perf_init()
7590 rci->source[cai->rci_index] = COUNTER_SOURCE_MSR; in rapl_perf_init()
7591 rci->msr[cai->rci_index] = cai->msr; in rapl_perf_init()
7592 rci->msr_mask[cai->rci_index] = cai->msr_mask; in rapl_perf_init()
7593 rci->msr_shift[cai->rci_index] = cai->msr_shift; in rapl_perf_init()
7594 rci->unit[cai->rci_index] = RAPL_UNIT_JOULES; in rapl_perf_init()
7595 rci->scale[cai->rci_index] = *cai->platform_rapl_msr_scale * cai->compat_scale; in rapl_perf_init()
7596 rci->flags[cai->rci_index] = cai->flags; in rapl_perf_init()
7600 if (rci->source[cai->rci_index] != COUNTER_SOURCE_NONE) in rapl_perf_init()
7723 cci->source[cai->rci_index] = COUNTER_SOURCE_PERF; in msr_perf_init_()
7728 cci->source[cai->rci_index] = COUNTER_SOURCE_MSR; in msr_perf_init_()
7729 cci->msr[cai->rci_index] = cai->msr; in msr_perf_init_()
7730 cci->msr_mask[cai->rci_index] = cai->msr_mask; in msr_perf_init_()
7837 cci->source[cai->rci_index] = COUNTER_SOURCE_PERF; in cstate_perf_init_()
7842 cci->source[cai->rci_index] = COUNTER_SOURCE_MSR; in cstate_perf_init_()
7843 cci->msr[cai->rci_index] = cai->msr; in cstate_perf_init_()
7847 if (cci->source[cai->rci_index] != COUNTER_SOURCE_NONE) { in cstate_perf_init_()