Searched refs:pmc_index (Results 1 – 3 of 3) sorted by relevance
| /linux/arch/riscv/kvm/ |
| H A D | vcpu_pmu.c | 543 int i, pmc_index, sbiret = 0; in kvm_riscv_vcpu_pmu_ctr_start() local 567 pmc_index = array_index_nospec(i + ctr_base, in kvm_riscv_vcpu_pmu_ctr_start() 569 if (!test_bit(pmc_index, kvpmu->pmc_in_use)) in kvm_riscv_vcpu_pmu_ctr_start() 572 clear_bit(pmc_index, kvpmu->pmc_overflown); in kvm_riscv_vcpu_pmu_ctr_start() 573 pmc = &kvpmu->pmc[pmc_index]; in kvm_riscv_vcpu_pmu_ctr_start() 620 int i, pmc_index, sbiret = 0; in kvm_riscv_vcpu_pmu_ctr_stop() local 639 pmc_index = array_index_nospec(i + ctr_base, in kvm_riscv_vcpu_pmu_ctr_stop() 641 if (!test_bit(pmc_index, kvpmu->pmc_in_use)) in kvm_riscv_vcpu_pmu_ctr_stop() 643 pmc = &kvpmu->pmc[pmc_index]; in kvm_riscv_vcpu_pmu_ctr_stop() 682 if (test_bit(pmc_index, kvpmu->pmc_overflown)) in kvm_riscv_vcpu_pmu_ctr_stop() [all …]
|
| /linux/drivers/platform/x86/intel/pmc/ |
| H A D | core.c | 267 struct seq_file *s, u32 offset, int pmc_index, in pmc_core_lpm_display() argument 286 dev_info(dev, "\nPMC%d:LPM_%s_%d:\t0x%x\n", pmc_index, str, idx, in pmc_core_lpm_display() 289 seq_printf(s, "\nPMC%d:LPM_%s_%d:\t0x%x\n", pmc_index, str, idx, in pmc_core_lpm_display() 294 dev_info(dev, "PMC%d:%-30s %-30d\n", pmc_index, in pmc_core_lpm_display() 298 seq_printf(s, "PMC%d:%-30s %-30d\n", pmc_index, in pmc_core_lpm_display() 847 static void pmc_core_substate_req_header_show(struct seq_file *s, int pmc_index, in pmc_core_substate_req_header_show() argument 851 struct pmc *pmc = pmcdev->pmcs[pmc_index]; in pmc_core_substate_req_header_show()
|
| H A D | core.h | 478 enum pmc_index { enum
|