Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm64/kvm/
H A Dpmu-emul.c87 static u32 counter_index_to_reg(u64 idx) in counter_index_to_reg() function
102 reg = counter_index_to_reg(pmc->idx); in kvm_pmu_get_pmc_value()
139 reg = counter_index_to_reg(pmc->idx); in kvm_pmu_set_pmc_value()
202 reg = counter_index_to_reg(pmc->idx); in kvm_pmu_stop_counter()
446 reg = __vcpu_sys_reg(vcpu, counter_index_to_reg(i)) + 1; in kvm_pmu_counter_increment()
449 __vcpu_sys_reg(vcpu, counter_index_to_reg(i)) = reg; in kvm_pmu_counter_increment()