Searched refs:vtimer_cpu (Results 1 – 4 of 4) sorted by relevance
101 if (hypctx->vtimer_cpu.virt_timer.cntx_cval_el0 < cntpct_el0) in vtimer_virtual_timer_intr()105 cntv_ctl = hypctx->vtimer_cpu.virt_timer.cntx_ctl_el0; in vtimer_virtual_timer_intr()138 struct vtimer_cpu *vtimer_cpu; in vtimer_cpuinit() local141 vtimer_cpu = &hypctx->vtimer_cpu; in vtimer_cpuinit()148 vtimer_cpu->phys_timer.cntx_ctl_el0 = CNTP_CTL_IMASK & ~CNTP_CTL_ENABLE; in vtimer_cpuinit()150 mtx_init(&vtimer_cpu->phys_timer.mtx, "vtimer phys callout mutex", NULL, in vtimer_cpuinit()152 callout_init_mtx(&vtimer_cpu->phys_timer.callout, in vtimer_cpuinit()153 &vtimer_cpu->phys_timer.mtx, 0); in vtimer_cpuinit()154 vtimer_cpu->phys_timer.irqid = GT_PHYS_NS_IRQ; in vtimer_cpuinit()156 mtx_init(&vtimer_cpu->virt_timer.mtx, "vtimer virt callout mutex", NULL, in vtimer_cpuinit()[all …]
57 struct vtimer_cpu { struct
241 hypctx->vtimer_cpu.cntkctl_el1 = in vmm_hyp_reg_store_timer()243 hypctx->vtimer_cpu.virt_timer.cntx_cval_el0 = in vmm_hyp_reg_store_timer()245 hypctx->vtimer_cpu.virt_timer.cntx_ctl_el0 = in vmm_hyp_reg_store_timer()248 hypctx->vtimer_cpu.cntkctl_el1 = in vmm_hyp_reg_store_timer()265 hypctx->vtimer_cpu.phys_timer.cntx_cval_el0 = in vmm_hyp_reg_store_timer()267 hypctx->vtimer_cpu.phys_timer.cntx_ctl_el0 = in vmm_hyp_reg_store_timer()601 hypctx->vtimer_cpu.cntkctl_el1); in vmm_hyp_reg_restore_timer()603 hypctx->vtimer_cpu.virt_timer.cntx_cval_el0); in vmm_hyp_reg_restore_timer()605 hypctx->vtimer_cpu.virt_timer.cntx_ctl_el0); in vmm_hyp_reg_restore_timer()617 WRITE_SPECIALREG(cntkctl_el1, hypctx->vtimer_cpu.cntkctl_el1); in vmm_hyp_reg_restore_timer()[all …]
276 struct vtimer_cpu vtimer_cpu; member