Lines Matching refs:rci_index
1156 unsigned int rci_index; /* Maps data from perf counters to global variables */ member
1171 .rci_index = RAPL_RCI_INDEX_ENERGY_PKG,
1184 .rci_index = RAPL_RCI_INDEX_ENERGY_PKG,
1197 .rci_index = RAPL_RCI_INDEX_ENERGY_CORES,
1210 .rci_index = RAPL_RCI_INDEX_DRAM,
1223 .rci_index = RAPL_RCI_INDEX_GFX,
1236 .rci_index = RAPL_RCI_INDEX_PKG_PERF_STATUS,
1249 .rci_index = RAPL_RCI_INDEX_DRAM_PERF_STATUS,
1262 .rci_index = RAPL_RCI_INDEX_CORE_ENERGY,
1275 .rci_index = RAPL_RCI_INDEX_ENERGY_PLATFORM,
1324 unsigned int rci_index; /* Maps data from perf counters to global variables */ member
1336 .rci_index = CCSTATE_RCI_INDEX_C1_RESIDENCY,
1346 .rci_index = CCSTATE_RCI_INDEX_C3_RESIDENCY,
1356 .rci_index = CCSTATE_RCI_INDEX_C6_RESIDENCY,
1366 .rci_index = CCSTATE_RCI_INDEX_C7_RESIDENCY,
1376 .rci_index = PCSTATE_RCI_INDEX_C2_RESIDENCY,
1386 .rci_index = PCSTATE_RCI_INDEX_C3_RESIDENCY,
1396 .rci_index = PCSTATE_RCI_INDEX_C6_RESIDENCY,
1406 .rci_index = PCSTATE_RCI_INDEX_C7_RESIDENCY,
1416 .rci_index = PCSTATE_RCI_INDEX_C8_RESIDENCY,
1426 .rci_index = PCSTATE_RCI_INDEX_C9_RESIDENCY,
1436 .rci_index = PCSTATE_RCI_INDEX_C10_RESIDENCY,
1467 unsigned int rci_index; /* Maps data from perf counters to global variables */ member
1484 .rci_index = MSR_RCI_INDEX_APERF,
1492 .rci_index = MSR_RCI_INDEX_MPERF,
1500 .rci_index = MSR_RCI_INDEX_SMI,
7690 rci->source[cai->rci_index] = COUNTER_SOURCE_PERF; in rapl_perf_init()
7691 rci->scale[cai->rci_index] = scale * cai->compat_scale; in rapl_perf_init()
7692 rci->unit[cai->rci_index] = unit; in rapl_perf_init()
7693 rci->flags[cai->rci_index] = cai->flags; in rapl_perf_init()
7697 rci->source[cai->rci_index] = COUNTER_SOURCE_MSR; in rapl_perf_init()
7698 rci->msr[cai->rci_index] = cai->msr; in rapl_perf_init()
7699 rci->msr_mask[cai->rci_index] = cai->msr_mask; in rapl_perf_init()
7700 rci->msr_shift[cai->rci_index] = cai->msr_shift; in rapl_perf_init()
7701 rci->unit[cai->rci_index] = RAPL_UNIT_JOULES; in rapl_perf_init()
7702 rci->scale[cai->rci_index] = *cai->platform_rapl_msr_scale * cai->compat_scale; in rapl_perf_init()
7703 rci->flags[cai->rci_index] = cai->flags; in rapl_perf_init()
7707 if (rci->source[cai->rci_index] != COUNTER_SOURCE_NONE) in rapl_perf_init()
7830 cci->source[cai->rci_index] = COUNTER_SOURCE_PERF; in msr_perf_init_()
7835 cci->source[cai->rci_index] = COUNTER_SOURCE_MSR; in msr_perf_init_()
7836 cci->msr[cai->rci_index] = cai->msr; in msr_perf_init_()
7837 cci->msr_mask[cai->rci_index] = cai->msr_mask; in msr_perf_init_()
7944 cci->source[cai->rci_index] = COUNTER_SOURCE_PERF; in cstate_perf_init_()
7949 cci->source[cai->rci_index] = COUNTER_SOURCE_MSR; in cstate_perf_init_()
7950 cci->msr[cai->rci_index] = cai->msr; in cstate_perf_init_()
7954 if (cci->source[cai->rci_index] != COUNTER_SOURCE_NONE) { in cstate_perf_init_()