Home
last modified time | relevance | path

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

/linux-6.12.1/arch/arm64/kvm/
Darch_timer.c104 static u64 timer_get_offset(struct arch_timer_context *ctxt) in timer_get_offset() function
259 u64 now = kvm_phys_timer_read() - timer_get_offset(timer_ctx); in kvm_counter_compute_delta()
417 now = kvm_phys_timer_read() - timer_get_offset(timer_ctx); in kvm_timer_should_fire()
545 cval -= timer_get_offset(ctx); in timer_save_state()
622 set_cntvoff(timer_get_offset(ctx)); in timer_restore_state()
630 offset = timer_get_offset(ctx); in timer_restore_state()
793 if (!has_cntpoff() && timer_get_offset(map->direct_ptimer)) in timer_set_traps()
1140 val = timer_get_cval(timer) - kvm_phys_timer_read() + timer_get_offset(timer); in kvm_arm_timer_read()
1153 val = kvm_phys_timer_read() - timer_get_offset(timer); in kvm_arm_timer_read()
1199 timer_set_cval(timer, kvm_phys_timer_read() - timer_get_offset(timer) + (s32)val); in kvm_arm_timer_write()