Searched refs:timer_ctx (Results 1 – 2 of 2) sorted by relevance
22 struct adf_timer *timer_ctx; in work_handler() local25 timer_ctx = container_of(to_delayed_work(work), struct adf_timer, work_ctx); in work_handler()26 accel_dev = timer_ctx->accel_dev; in work_handler()28 adf_misc_wq_queue_delayed_work(&timer_ctx->work_ctx, in work_handler()31 time_periods = div_u64(ktime_ms_delta(ktime_get_real(), timer_ctx->initial_ktime), in work_handler()40 struct adf_timer *timer_ctx; in adf_gen4_timer_start() local42 timer_ctx = kzalloc(sizeof(*timer_ctx), GFP_KERNEL); in adf_gen4_timer_start()43 if (!timer_ctx) in adf_gen4_timer_start()46 timer_ctx->accel_dev = accel_dev; in adf_gen4_timer_start()47 accel_dev->timer = timer_ctx; in adf_gen4_timer_start()[all …]
41 static bool kvm_timer_irq_can_fire(struct arch_timer_context *timer_ctx);43 struct arch_timer_context *timer_ctx);44 static bool kvm_timer_should_fire(struct arch_timer_context *timer_ctx);255 static u64 kvm_counter_compute_delta(struct arch_timer_context *timer_ctx, in kvm_counter_compute_delta() argument258 u64 now = kvm_phys_timer_read() - timer_get_offset(timer_ctx); in kvm_counter_compute_delta()266 &timer_ctx->ns_frac); in kvm_counter_compute_delta()273 static u64 kvm_timer_compute_delta(struct arch_timer_context *timer_ctx) in kvm_timer_compute_delta() argument275 return kvm_counter_compute_delta(timer_ctx, timer_get_cval(timer_ctx)); in kvm_timer_compute_delta()278 static bool kvm_timer_irq_can_fire(struct arch_timer_context *timer_ctx) in kvm_timer_irq_can_fire() argument280 WARN_ON(timer_ctx && timer_ctx->loaded); in kvm_timer_irq_can_fire()[all …]