Home
last modified time | relevance | path

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

/linux-6.12.1/arch/riscv/kvm/ !
Dvcpu_pmu.c87 static u64 kvm_pmu_get_perf_event_hw_config(u32 sbi_event_code) in kvm_pmu_get_perf_event_hw_config() argument
89 return hw_event_perf_map[sbi_event_code]; in kvm_pmu_get_perf_event_hw_config()
92 static u64 kvm_pmu_get_perf_event_cache_config(u32 sbi_event_code) in kvm_pmu_get_perf_event_cache_config() argument
98 cache_type = (sbi_event_code & SBI_PMU_EVENT_CACHE_ID_CODE_MASK) >> in kvm_pmu_get_perf_event_cache_config()
100 cache_op = (sbi_event_code & SBI_PMU_EVENT_CACHE_OP_ID_CODE_MASK) >> in kvm_pmu_get_perf_event_cache_config()
102 cache_result = sbi_event_code & SBI_PMU_EVENT_CACHE_RESULT_ID_CODE_MASK; in kvm_pmu_get_perf_event_cache_config()