Searched refs:vtimer (Results 1 – 9 of 9) sorted by relevance
| /freebsd/sys/riscv/vmm/ |
| H A D | vmm_vtimer.c | 70 struct vtimer *vtimer; in vtimer_cpuinit() local 74 vtimer = &hypctx->vtimer; in vtimer_cpuinit() 75 mtx_init(&vtimer->mtx, "vtimer callout mutex", NULL, MTX_DEF); in vtimer_cpuinit() 76 callout_init_mtx(&vtimer->callout, &vtimer->mtx, 0); in vtimer_cpuinit() 82 vtimer->freq = freq; in vtimer_cpuinit() 101 struct vtimer *vtimer; in vtimer_set_timer() local 106 vtimer = &hypctx->vtimer; in vtimer_set_timer() 111 time = delta * SBT_1S / vtimer->freq; in vtimer_set_timer() 113 callout_reset_sbt(&vtimer->callout, time, 0, in vtimer_set_timer()
|
| H A D | riscv.h | 98 struct vtimer vtimer; member
|
| H A D | vmm_vtimer.h | 38 struct vtimer { struct
|
| /freebsd/sys/arm64/vmm/io/ |
| H A D | vtimer.c | 65 SYSCTL_NODE(_hw_vmm, OID_AUTO, vtimer, CTLFLAG_RW, NULL, NULL); 100 hypctx->hyp->vtimer.cntvoff_el2; in vtimer_virtual_timer_intr() 168 hyp->vtimer.cnthctl_el2 = in vtimer_vminit() 172 hyp->vtimer.cnthctl_el2 |= in vtimer_vminit() 178 hyp->vtimer.cnthctl_el2 |= in vtimer_vminit() 191 hyp->vtimer.cnthctl_el2 = in vtimer_vminit() 195 hyp->vtimer.cnthctl_el2 = in vtimer_vminit() 202 hyp->vtimer.cnthctl_el2 |= CNTHCTL_ECV_EN; in vtimer_vminit() 205 hyp->vtimer.cntvoff_el2 = now; in vtimer_vminit() 292 hypctx->hyp->vtimer.cntvoff_el2; in vtimer_sync_hwstate() [all …]
|
| H A D | vtimer.h | 40 struct vtimer { struct
|
| /freebsd/sys/arm64/vmm/ |
| H A D | arm64.h | 143 struct vtimer vtimer; member
|
| H A D | vmm_hyp.c | 486 WRITE_SPECIALREG(cnthctl_el2, hyp->vtimer.cnthctl_el2); in vmm_hyp_reg_restore() 487 WRITE_SPECIALREG(cntvoff_el2, hyp->vtimer.cntvoff_el2); in vmm_hyp_reg_restore() 495 hyp->vtimer.cntvoff_el2); in vmm_hyp_reg_restore() 571 ecv_poff = (hyp->vtimer.cnthctl_el2 & CNTHCTL_ECV_EN) != 0; in vmm_hyp_call_guest()
|
| /freebsd/sys/modules/vmm/ |
| H A D | Makefile | 43 vtimer.c
|
| /freebsd/sys/conf/ |
| H A D | files.arm64 | 163 arm64/vmm/io/vtimer.c optional vmm
|