Home
last modified time | relevance | path

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

/freebsd/sys/riscv/vmm/
H A Dvmm_vtimer.c68 struct vtimer *vtimer; in vtimer_cpuinit() local
72 vtimer = &hypctx->vtimer; in vtimer_cpuinit()
73 mtx_init(&vtimer->mtx, "vtimer callout mutex", NULL, MTX_DEF); in vtimer_cpuinit()
74 callout_init_mtx(&vtimer->callout, &vtimer->mtx, 0); in vtimer_cpuinit()
80 vtimer->freq = freq; in vtimer_cpuinit()
99 struct vtimer *vtimer; in vtimer_set_timer() local
104 vtimer = &hypctx->vtimer; in vtimer_set_timer()
109 time = delta * SBT_1S / vtimer->freq; in vtimer_set_timer()
111 callout_reset_sbt(&vtimer->callout, time, 0, in vtimer_set_timer()
H A Driscv.h98 struct vtimer vtimer; member
H A Dvmm_vtimer.h38 struct vtimer { struct
/freebsd/sys/arm64/vmm/io/
H A Dvtimer.c91 hypctx->hyp->vtimer.cntvoff_el2; in vtimer_virtual_timer_intr()
132 hyp->vtimer.cnthctl_el2 = cnthctl_el2_reg; in vtimer_vminit()
152 hyp->vtimer.cnthctl_el2 &= ~CNTHCTL_E2H_EL0PCTEN; in vtimer_vminit()
153 hyp->vtimer.cnthctl_el2 |= CNTHCTL_E2H_EL0VCTEN; in vtimer_vminit()
154 hyp->vtimer.cnthctl_el2 |= CNTHCTL_E2H_EL0VTEN; in vtimer_vminit()
155 hyp->vtimer.cnthctl_el2 &= ~CNTHCTL_E2H_EL0PTEN; in vtimer_vminit()
157 hyp->vtimer.cnthctl_el2 &= ~CNTHCTL_E2H_EL1PTEN; in vtimer_vminit()
158 hyp->vtimer.cnthctl_el2 &= ~CNTHCTL_E2H_EL1PCTEN; in vtimer_vminit()
165 hyp->vtimer.cnthctl_el2 &= ~CNTHCTL_EL1PCEN; in vtimer_vminit()
166 hyp->vtimer.cnthctl_el2 &= ~CNTHCTL_EL1PCTEN; in vtimer_vminit()
[all …]
/freebsd/sys/arm64/vmm/
H A Darm64.h124 struct vtimer vtimer; member
H A Dvmm_hyp.c450 WRITE_SPECIALREG(cnthctl_el2, hyp->vtimer.cnthctl_el2); in vmm_hyp_reg_restore()
451 WRITE_SPECIALREG(cntvoff_el2, hyp->vtimer.cntvoff_el2); in vmm_hyp_reg_restore()
/freebsd/sys/modules/vmm/
H A DMakefile41 vtimer.c
/freebsd/sys/conf/
H A Dfiles.arm64154 arm64/vmm/io/vtimer.c optional vmm