Home
last modified time | relevance | path

Searched refs:timer_set_ctl (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/tools/testing/selftests/kvm/aarch64/
Darch_timer.c95 timer_set_ctl(VIRTUAL, CTL_ENABLE); in guest_configure_timer_action()
100 timer_set_ctl(VIRTUAL, CTL_ENABLE); in guest_configure_timer_action()
105 timer_set_ctl(PHYSICAL, CTL_ENABLE); in guest_configure_timer_action()
110 timer_set_ctl(PHYSICAL, CTL_ENABLE); in guest_configure_timer_action()
128 timer_set_ctl(VIRTUAL, CTL_IMASK); in guest_validate_irq()
135 timer_set_ctl(PHYSICAL, CTL_IMASK); in guest_validate_irq()
198 timer_set_ctl(VIRTUAL, CTL_IMASK); in guest_code()
199 timer_set_ctl(PHYSICAL, CTL_IMASK); in guest_code()
/linux-6.1.9/arch/arm64/kvm/
Darch_timer.c97 static void timer_set_ctl(struct arch_timer_context *ctxt, u32 ctl) in timer_set_ctl() function
455 timer_set_ctl(ctx, read_sysreg_el0(SYS_CNTV_CTL)); in timer_save_state()
464 timer_set_ctl(ctx, read_sysreg_el0(SYS_CNTP_CTL)); in timer_save_state()
744 timer_set_ctl(vcpu_vtimer(vcpu), 0); in kvm_timer_vcpu_reset()
745 timer_set_ctl(vcpu_ptimer(vcpu), 0); in kvm_timer_vcpu_reset()
953 timer_set_ctl(timer, val & ~ARCH_TIMER_CTRL_IT_STAT); in kvm_arm_timer_write()
/linux-6.1.9/tools/testing/selftests/kvm/include/aarch64/
Darch_timer.h98 static inline void timer_set_ctl(enum arch_timer timer, uint32_t ctl) in timer_set_ctl() function