Lines Matching refs:arch_timer_context
43 static bool kvm_timer_irq_can_fire(struct arch_timer_context *timer_ctx);
45 struct arch_timer_context *timer_ctx);
46 static bool kvm_timer_should_fire(struct arch_timer_context *timer_ctx);
48 struct arch_timer_context *timer,
52 struct arch_timer_context *timer,
55 u32 timer_get_ctl(struct arch_timer_context *ctxt) in timer_get_ctl()
70 u64 timer_get_cval(struct arch_timer_context *ctxt) in timer_get_cval()
85 static u64 timer_get_offset(struct arch_timer_context *ctxt) in timer_get_offset()
97 static void timer_set_ctl(struct arch_timer_context *ctxt, u32 ctl) in timer_set_ctl()
113 static void timer_set_cval(struct arch_timer_context *ctxt, u64 cval) in timer_set_cval()
129 static void timer_set_offset(struct arch_timer_context *ctxt, u64 offset) in timer_set_offset()
182 struct arch_timer_context *ctx; in kvm_arch_timer_handler()
211 static u64 kvm_timer_compute_delta(struct arch_timer_context *timer_ctx) in kvm_timer_compute_delta()
231 static bool kvm_timer_irq_can_fire(struct arch_timer_context *timer_ctx) in kvm_timer_irq_can_fire()
249 struct arch_timer_context *ctx = &vcpu->arch.timer_cpu.timers[i]; in kvm_timer_earliest_exp()
289 struct arch_timer_context *ctx; in kvm_hrtimer_expire()
293 ctx = container_of(hrt, struct arch_timer_context, hrtimer); in kvm_hrtimer_expire()
313 static bool kvm_timer_should_fire(struct arch_timer_context *timer_ctx) in kvm_timer_should_fire()
369 struct arch_timer_context *vtimer = vcpu_vtimer(vcpu); in kvm_timer_update_run()
370 struct arch_timer_context *ptimer = vcpu_ptimer(vcpu); in kvm_timer_update_run()
383 struct arch_timer_context *timer_ctx) in kvm_timer_update_irq()
401 static void timer_emulate(struct arch_timer_context *ctx) in timer_emulate()
425 static void timer_save_state(struct arch_timer_context *ctx) in timer_save_state()
504 static void timer_restore_state(struct arch_timer_context *ctx) in timer_restore_state()
545 static inline void set_timer_irq_phys_active(struct arch_timer_context *ctx, bool active) in set_timer_irq_phys_active()
552 static void kvm_timer_vcpu_load_gic(struct arch_timer_context *ctx) in kvm_timer_vcpu_load_gic()
575 struct arch_timer_context *vtimer = vcpu_vtimer(vcpu); in kvm_timer_vcpu_load_nogic()
633 struct arch_timer_context *vtimer = vcpu_vtimer(vcpu); in kvm_timer_should_notify_user()
634 struct arch_timer_context *ptimer = vcpu_ptimer(vcpu); in kvm_timer_should_notify_user()
695 struct arch_timer_context *vtimer = vcpu_vtimer(vcpu); in unmask_vtimer_irq_user()
772 struct arch_timer_context *vtimer = vcpu_vtimer(vcpu); in kvm_timer_vcpu_init()
773 struct arch_timer_context *ptimer = vcpu_ptimer(vcpu); in kvm_timer_vcpu_init()
808 struct arch_timer_context *timer; in kvm_arm_timer_set_reg()
839 static u64 read_timer_ctl(struct arch_timer_context *timer) in read_timer_ctl()
881 struct arch_timer_context *timer, in kvm_arm_timer_read()
929 struct arch_timer_context *timer, in kvm_arm_timer_write()
1217 struct arch_timer_context *timer; in kvm_arch_timer_get_input_level()
1311 struct arch_timer_context *vtimer = vcpu_vtimer(vcpu); in kvm_arm_timer_set_attr()
1312 struct arch_timer_context *ptimer = vcpu_ptimer(vcpu); in kvm_arm_timer_set_attr()
1344 struct arch_timer_context *timer; in kvm_arm_timer_get_attr()