Searched refs:virt_timer (Results 1 – 3 of 3) sorted by relevance
115 t = &v->arch.virt_timer; in vcpu_vtimer_init()133 kill_timer(&v->arch.virt_timer.timer); in vcpu_timer_destroy()141 v->arch.virt_timer.ctl = READ_SYSREG32(CNTV_CTL_EL0); in virt_timer_save()143 v->arch.virt_timer.cval = READ_SYSREG64(CNTV_CVAL_EL0); in virt_timer_save()144 if ( (v->arch.virt_timer.ctl & CNTx_CTL_ENABLE) && in virt_timer_save()145 !(v->arch.virt_timer.ctl & CNTx_CTL_MASK)) in virt_timer_save()147 set_timer(&v->arch.virt_timer.timer, ticks_to_ns(v->arch.virt_timer.cval + in virt_timer_save()156 stop_timer(&v->arch.virt_timer.timer); in virt_timer_restore()157 migrate_timer(&v->arch.virt_timer.timer, v->processor); in virt_timer_restore()162 WRITE_SYSREG32(v->arch.virt_timer.ctl, CNTV_CTL_EL0); in virt_timer_restore()[all …]
263 current->arch.virt_timer.ctl = READ_SYSREG32(CNTV_CTL_EL0); in vtimer_interrupt()264 WRITE_SYSREG32(current->arch.virt_timer.ctl | CNTx_CTL_MASK, CNTV_CTL_EL0); in vtimer_interrupt()265 vgic_inject_irq(current->domain, current, current->arch.virt_timer.irq, true); in vtimer_interrupt()
198 struct vtimer virt_timer; member
Completed in 5 milliseconds