Searched refs:ptimer (Results 1 – 8 of 8) sorted by relevance
369 struct arch_timer_context *ptimer = vcpu_ptimer(vcpu); in kvm_timer_update_run() local377 if (kvm_timer_should_fire(ptimer)) in kvm_timer_update_run()633 struct arch_timer_context *ptimer = vcpu_ptimer(vcpu); in kvm_timer_should_notify_user() local644 kvm_timer_should_fire(ptimer) != plevel; in kvm_timer_should_notify_user()772 struct arch_timer_context *ptimer = vcpu_ptimer(vcpu); in kvm_timer_vcpu_init() local775 ptimer->vcpu = vcpu; in kvm_timer_vcpu_init()779 timer_set_offset(ptimer, 0); in kvm_timer_vcpu_init()785 hrtimer_init(&ptimer->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS_HARD); in kvm_timer_vcpu_init()787 ptimer->hrtimer.function = kvm_hrtimer_expire; in kvm_timer_vcpu_init()790 ptimer->irq.irq = default_ptimer_irq.irq; in kvm_timer_vcpu_init()[all …]
81 static inline void _set_timer(_timer *ptimer, u32 delay_time) in _set_timer() argument83 mod_timer(ptimer, (jiffies + (delay_time * HZ / 1000))); in _set_timer()
21 ptimer-handle = <&ptp_timer0>;
46 ptimer-handle = <&ptp_timer0>;
46 ptimer-handle = <&ptp_timer1>;