Searched refs:pmc_idx (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/platform/x86/intel/pmc/ |
| H A D | core.c | 315 int pmc_idx, u8 pf_reg, const struct pmc_bit_map **pf_map) in pmc_core_display_map() argument 318 pmc_idx, ip, pf_map[idx][index].name, in pmc_core_display_map() 325 unsigned int pmc_idx; in pmc_core_ppfear_show() local 327 for (pmc_idx = 0; pmc_idx < ARRAY_SIZE(pmcdev->pmcs); ++pmc_idx) { in pmc_core_ppfear_show() 328 struct pmc *pmc = pmcdev->pmcs[pmc_idx]; in pmc_core_ppfear_show() 346 pmc_core_display_map(s, index, idx, ip, pmc_idx, in pmc_core_ppfear_show() 475 unsigned int pmc_idx; in pmc_core_send_ltr_ignore() local 483 for (pmc_idx = 0; pmc_idx < ARRAY_SIZE(pmcdev->pmcs) && ltr_index >= 0; pmc_idx++) { in pmc_core_send_ltr_ignore() 484 pmc = pmcdev->pmcs[pmc_idx]; in pmc_core_send_ltr_ignore() 501 if (pmc_idx >= ARRAY_SIZE(pmcdev->pmcs) || ltr_index < 0) in pmc_core_send_ltr_ignore() [all …]
|
| H A D | ssram_telemetry.h | 21 int pmc_ssram_telemetry_get_pmc_info(unsigned int pmc_idx,
|
| /linux/tools/testing/selftests/kvm/arm64/ |
| H A D | vpmu_counter_access.c | 208 static void test_bitmap_pmu_regs(int pmc_idx, bool set_op) in test_bitmap_pmu_regs() argument 210 u64 pmcr_n, test_bit = BIT(pmc_idx); in test_bitmap_pmu_regs() 220 set_expected = (pmc_idx < pmcr_n) ? true : false; in test_bitmap_pmu_regs() 233 static void test_access_pmc_regs(struct pmc_accessor *acc, int pmc_idx) in test_access_pmc_regs() argument 245 test_bitmap_pmu_regs(pmc_idx, false); in test_access_pmc_regs() 247 test_bitmap_pmu_regs(pmc_idx, true); in test_access_pmc_regs() 249 test_bitmap_pmu_regs(pmc_idx, false); in test_access_pmc_regs() 264 acc->write_typer(pmc_idx, write_data); in test_access_pmc_regs() 265 read_data = acc->read_typer(pmc_idx); in test_access_pmc_regs() 268 pmc_idx, PMC_ACC_TO_IDX(acc), read_data, write_data); in test_access_pmc_regs() [all …]
|