Home
last modified time | relevance | path

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

/openbmc/linux/arch/riscv/kvm/
H A Dvcpu_timer.c49 if (kvm_riscv_current_cycles(gt) < t->next_cycles) { in kvm_riscv_vcpu_hrtimer_expired()
95 t->next_cycles = ncycles; in kvm_riscv_vcpu_update_hrtimer()
116 if (kvm_riscv_current_cycles(gt) < t->next_cycles) { in kvm_riscv_vcpu_vstimer_expired()
183 reg_val = t->next_cycles; in kvm_riscv_vcpu_get_reg_timer()
228 t->next_cycles = reg_val; in kvm_riscv_vcpu_set_reg_timer()
283 t->next_cycles = -1ULL; in kvm_riscv_vcpu_timer_reset()
309 csr_write(CSR_VSTIMECMP, (u32)t->next_cycles); in kvm_riscv_vcpu_timer_restore()
312 csr_write(CSR_VSTIMECMP, t->next_cycles); in kvm_riscv_vcpu_timer_restore()
330 t->next_cycles = csr_read(CSR_VSTIMECMP); in kvm_riscv_vcpu_timer_sync()
331 t->next_cycles |= (u64)csr_read(CSR_VSTIMECMPH) << 32; in kvm_riscv_vcpu_timer_sync()
[all …]
/openbmc/linux/arch/riscv/include/asm/
H A Dkvm_vcpu_timer.h28 u64 next_cycles; member