Home
last modified time | relevance | path

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

/openbmc/linux/arch/riscv/kvm/
H A Dvcpu_pmu.c131 if (ecode < SBI_PMU_FW_MAX) in kvm_pmu_get_perf_event_config()
268 if (!kvpmu || fid >= SBI_PMU_FW_MAX) in kvm_riscv_vcpu_pmu_incr_fw()
362 if (fevent_code >= SBI_PMU_FW_MAX) { in kvm_riscv_vcpu_pmu_ctr_start()
417 if (fevent_code >= SBI_PMU_FW_MAX) { in kvm_riscv_vcpu_pmu_ctr_stop()
489 if (is_fevent && event_code >= SBI_PMU_FW_MAX) { in kvm_riscv_vcpu_pmu_ctr_cfg_match()
567 kvpmu->num_fw_ctrs = SBI_PMU_FW_MAX; in kvm_riscv_vcpu_pmu_init()
568 memset(&kvpmu->fw_event, 0, SBI_PMU_FW_MAX * sizeof(struct kvm_fw_event)); in kvm_riscv_vcpu_pmu_init()
627 memset(&kvpmu->fw_event, 0, SBI_PMU_FW_MAX * sizeof(struct kvm_fw_event)); in kvm_riscv_vcpu_pmu_deinit()
/openbmc/linux/arch/riscv/include/asm/
H A Dsbi.h189 SBI_PMU_FW_MAX, enumerator