Home
last modified time | relevance | path

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

/linux-6.12.1/arch/riscv/kvm/
Dvcpu_pmu.c205 int fevent_code; in pmu_fw_ctr_read_hi() local
222 fevent_code = get_event_code(pmc->event_idx); in pmu_fw_ctr_read_hi()
223 pmc->counter_val = kvpmu->fw_event[fevent_code].value; in pmu_fw_ctr_read_hi()
236 int fevent_code; in pmu_ctr_read() local
246 fevent_code = get_event_code(pmc->event_idx); in pmu_ctr_read()
247 pmc->counter_val = kvpmu->fw_event[fevent_code].value; in pmu_ctr_read()
487 int fevent_code; in kvm_riscv_vcpu_pmu_ctr_start() local
523 fevent_code = get_event_code(pmc->event_idx); in kvm_riscv_vcpu_pmu_ctr_start()
524 if (fevent_code >= SBI_PMU_FW_MAX) { in kvm_riscv_vcpu_pmu_ctr_start()
530 if (kvpmu->fw_event[fevent_code].started) { in kvm_riscv_vcpu_pmu_ctr_start()
[all …]