Searched refs:select_idx (Results 1 – 2 of 2) sorted by relevance
23 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() argument56 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() argument88 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() argument123 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 …]
51 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() argument110 u64 select_idx, u64 val) {} in kvm_pmu_set_counter_value() argument130 u64 data, u64 select_idx) {} in kvm_pmu_set_counter_event_type() argument