Home
last modified time | relevance | path

Searched refs:pmc_index (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/arch/riscv/kvm/
Dvcpu_pmu.c485 int i, pmc_index, sbiret = 0; in kvm_riscv_vcpu_pmu_ctr_start() local
509 pmc_index = i + ctr_base; in kvm_riscv_vcpu_pmu_ctr_start()
510 if (!test_bit(pmc_index, kvpmu->pmc_in_use)) in kvm_riscv_vcpu_pmu_ctr_start()
513 clear_bit(pmc_index, kvpmu->pmc_overflown); in kvm_riscv_vcpu_pmu_ctr_start()
514 pmc = &kvpmu->pmc[pmc_index]; in kvm_riscv_vcpu_pmu_ctr_start()
561 int i, pmc_index, sbiret = 0; in kvm_riscv_vcpu_pmu_ctr_stop() local
580 pmc_index = i + ctr_base; in kvm_riscv_vcpu_pmu_ctr_stop()
581 if (!test_bit(pmc_index, kvpmu->pmc_in_use)) in kvm_riscv_vcpu_pmu_ctr_stop()
583 pmc = &kvpmu->pmc[pmc_index]; in kvm_riscv_vcpu_pmu_ctr_stop()
622 if (test_bit(pmc_index, kvpmu->pmc_overflown)) in kvm_riscv_vcpu_pmu_ctr_stop()
[all …]
/linux-6.12.1/drivers/platform/x86/intel/pmc/
Dcore.c259 struct seq_file *s, u32 offset, int pmc_index, in pmc_core_lpm_display() argument
278 dev_info(dev, "\nPMC%d:LPM_%s_%d:\t0x%x\n", pmc_index, str, idx, in pmc_core_lpm_display()
281 seq_printf(s, "\nPMC%d:LPM_%s_%d:\t0x%x\n", pmc_index, str, idx, in pmc_core_lpm_display()
286 dev_info(dev, "PMC%d:%-30s %-30d\n", pmc_index, in pmc_core_lpm_display()
290 seq_printf(s, "PMC%d:%-30s %-30d\n", pmc_index, in pmc_core_lpm_display()
307 int pmc_index, u8 pf_reg, const struct pmc_bit_map **pf_map) in pmc_core_display_map() argument
310 pmc_index, ip, pf_map[idx][index].name, in pmc_core_display_map()
467 unsigned int pmc_index; in pmc_core_send_ltr_ignore() local
475 for (pmc_index = 0; pmc_index < ARRAY_SIZE(pmcdev->pmcs) && ltr_index >= 0; pmc_index++) { in pmc_core_send_ltr_ignore()
476 pmc = pmcdev->pmcs[pmc_index]; in pmc_core_send_ltr_ignore()
[all …]
Dcore_ssram.c222 const struct pmc_reg_map *reg_map, int pmc_index) in pmc_core_pmc_add() argument
224 struct pmc *pmc = pmcdev->pmcs[pmc_index]; in pmc_core_pmc_add()
245 pmcdev->pmcs[pmc_index] = pmc; in pmc_core_pmc_add()
Dcore.h431 enum pmc_index { enum