select_idx 34 include/kvm/arm_pmu.h u64 kvm_pmu_get_counter_value(struct kvm_vcpu *vcpu, u64 select_idx); select_idx 35 include/kvm/arm_pmu.h void kvm_pmu_set_counter_value(struct kvm_vcpu *vcpu, u64 select_idx, u64 val); select_idx 49 include/kvm/arm_pmu.h u64 select_idx); select_idx 65 include/kvm/arm_pmu.h u64 select_idx) select_idx 70 include/kvm/arm_pmu.h u64 select_idx, u64 val) {} select_idx 90 include/kvm/arm_pmu.h u64 data, u64 select_idx) {} select_idx 17 virt/kvm/arm/pmu.c static void kvm_pmu_create_perf_event(struct kvm_vcpu *vcpu, u64 select_idx); select_idx 26 virt/kvm/arm/pmu.c static bool kvm_pmu_idx_is_64bit(struct kvm_vcpu *vcpu, u64 select_idx) select_idx 28 virt/kvm/arm/pmu.c return (select_idx == ARMV8_PMU_CYCLE_IDX && select_idx 58 virt/kvm/arm/pmu.c static bool kvm_pmu_idx_is_high_counter(u64 select_idx) select_idx 60 virt/kvm/arm/pmu.c return select_idx & 0x1; select_idx 84 virt/kvm/arm/pmu.c static bool kvm_pmu_idx_has_chain_evtype(struct kvm_vcpu *vcpu, u64 select_idx) select_idx 88 virt/kvm/arm/pmu.c select_idx |= 0x1; select_idx 90 virt/kvm/arm/pmu.c if (select_idx == ARMV8_PMU_CYCLE_IDX) select_idx 93 virt/kvm/arm/pmu.c reg = PMEVTYPER0_EL0 + select_idx; select_idx 139 virt/kvm/arm/pmu.c u64 kvm_pmu_get_counter_value(struct kvm_vcpu *vcpu, u64 select_idx) select_idx 143 virt/kvm/arm/pmu.c struct kvm_pmc *pmc = &pmu->pmc[select_idx]; select_idx 148 virt/kvm/arm/pmu.c kvm_pmu_idx_is_high_counter(select_idx)) select_idx 150 virt/kvm/arm/pmu.c else if (select_idx != ARMV8_PMU_CYCLE_IDX) select_idx 162 virt/kvm/arm/pmu.c void kvm_pmu_set_counter_value(struct kvm_vcpu *vcpu, u64 select_idx, u64 val) select_idx 166 virt/kvm/arm/pmu.c reg = (select_idx == ARMV8_PMU_CYCLE_IDX) select_idx 167 virt/kvm/arm/pmu.c ? PMCCNTR_EL0 : PMEVCNTR0_EL0 + select_idx; select_idx 168 virt/kvm/arm/pmu.c __vcpu_sys_reg(vcpu, reg) += (s64)val - kvm_pmu_get_counter_value(vcpu, select_idx); select_idx 171 virt/kvm/arm/pmu.c kvm_pmu_create_perf_event(vcpu, select_idx); select_idx 553 virt/kvm/arm/pmu.c static bool kvm_pmu_counter_is_enabled(struct kvm_vcpu *vcpu, u64 select_idx) select_idx 556 virt/kvm/arm/pmu.c (__vcpu_sys_reg(vcpu, PMCNTENSET_EL0) & BIT(select_idx)); select_idx 564 virt/kvm/arm/pmu.c static void kvm_pmu_create_perf_event(struct kvm_vcpu *vcpu, u64 select_idx) select_idx 577 virt/kvm/arm/pmu.c pmc = kvm_pmu_get_canonical_pmc(&pmu->pmc[select_idx]); select_idx 646 virt/kvm/arm/pmu.c static void kvm_pmu_update_pmc_chained(struct kvm_vcpu *vcpu, u64 select_idx) select_idx 649 virt/kvm/arm/pmu.c struct kvm_pmc *pmc = &pmu->pmc[select_idx]; select_idx 676 virt/kvm/arm/pmu.c u64 select_idx) select_idx 680 virt/kvm/arm/pmu.c reg = (select_idx == ARMV8_PMU_CYCLE_IDX) select_idx 681 virt/kvm/arm/pmu.c ? PMCCFILTR_EL0 : PMEVTYPER0_EL0 + select_idx; select_idx 685 virt/kvm/arm/pmu.c kvm_pmu_update_pmc_chained(vcpu, select_idx); select_idx 686 virt/kvm/arm/pmu.c kvm_pmu_create_perf_event(vcpu, select_idx);