Home
last modified time | relevance | path

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

/linux-4.19.296/virt/kvm/arm/
Darch_timer.c144 return !(timer_ctx->cnt_ctl & ARCH_TIMER_CTRL_IT_MASK) && in kvm_timer_irq_can_fire()
145 (timer_ctx->cnt_ctl & ARCH_TIMER_CTRL_ENABLE); in kvm_timer_irq_can_fire()
226 u32 cnt_ctl; in kvm_timer_should_fire() local
229 cnt_ctl = read_sysreg_el0(cntv_ctl); in kvm_timer_should_fire()
230 return (cnt_ctl & ARCH_TIMER_CTRL_ENABLE) && in kvm_timer_should_fire()
231 (cnt_ctl & ARCH_TIMER_CTRL_IT_STAT) && in kvm_timer_should_fire()
232 !(cnt_ctl & ARCH_TIMER_CTRL_IT_MASK); in kvm_timer_should_fire()
353 vtimer->cnt_ctl = read_sysreg_el0(cntv_ctl); in vtimer_save_state()
415 write_sysreg_el0(vtimer->cnt_ctl, cntv_ctl); in vtimer_restore_state()
601 vtimer->cnt_ctl = 0; in kvm_timer_vcpu_reset()
[all …]
/linux-4.19.296/include/kvm/
Darm_arch_timer.h28 u32 cnt_ctl; member