Home
last modified time | relevance | path

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

/Linux-v6.1/arch/arm64/kvm/
Dpmu-emul.c23 static void kvm_pmu_create_perf_event(struct kvm_vcpu *vcpu, u64 select_idx);
24 static void kvm_pmu_update_pmc_chained(struct kvm_vcpu *vcpu, u64 select_idx);
54 static bool kvm_pmu_idx_is_64bit(struct kvm_vcpu *vcpu, u64 select_idx) in kvm_pmu_idx_is_64bit() argument
56 return (select_idx == ARMV8_PMU_CYCLE_IDX && in kvm_pmu_idx_is_64bit()
86 static bool kvm_pmu_idx_is_high_counter(u64 select_idx) in kvm_pmu_idx_is_high_counter() argument
88 return select_idx & 0x1; in kvm_pmu_idx_is_high_counter()
119 static bool kvm_pmu_idx_has_chain_evtype(struct kvm_vcpu *vcpu, u64 select_idx) in kvm_pmu_idx_has_chain_evtype() argument
123 select_idx |= 0x1; in kvm_pmu_idx_has_chain_evtype()
125 if (select_idx == ARMV8_PMU_CYCLE_IDX) in kvm_pmu_idx_has_chain_evtype()
128 reg = PMEVTYPER0_EL0 + select_idx; in kvm_pmu_idx_has_chain_evtype()
[all …]
/Linux-v6.1/include/kvm/
Darm_pmu.h51 u64 kvm_pmu_get_counter_value(struct kvm_vcpu *vcpu, u64 select_idx);
52 void kvm_pmu_set_counter_value(struct kvm_vcpu *vcpu, u64 select_idx, u64 val);
67 u64 select_idx);
105 u64 select_idx) in kvm_pmu_get_counter_value() argument
110 u64 select_idx, u64 val) {} in kvm_pmu_set_counter_value() argument
130 u64 data, u64 select_idx) {} in kvm_pmu_set_counter_event_type() argument