Searched refs:timer_ctx (Results 1 – 2 of 2) sorted by relevance
23 struct adf_timer *timer_ctx; in work_handler() local27 accel_dev = timer_ctx->accel_dev; in work_handler()41 struct adf_timer *timer_ctx; in adf_gen4_timer_start() local43 timer_ctx = kzalloc(sizeof(*timer_ctx), GFP_KERNEL); in adf_gen4_timer_start()44 if (!timer_ctx) in adf_gen4_timer_start()47 timer_ctx->accel_dev = accel_dev; in adf_gen4_timer_start()48 accel_dev->timer = timer_ctx; in adf_gen4_timer_start()49 timer_ctx->initial_ktime = ktime_get_real(); in adf_gen4_timer_start()61 struct adf_timer *timer_ctx = accel_dev->timer; in adf_gen4_timer_stop() local63 if (!timer_ctx) in adf_gen4_timer_stop()[all …]
267 &timer_ctx->ns_frac); in kvm_counter_compute_delta()276 return kvm_counter_compute_delta(timer_ctx, timer_get_cval(timer_ctx)); in kvm_timer_compute_delta()281 WARN_ON(timer_ctx && timer_ctx->loaded); in kvm_timer_irq_can_fire()282 return timer_ctx && in kvm_timer_irq_can_fire()283 ((timer_get_ctl(timer_ctx) & in kvm_timer_irq_can_fire()385 if (!timer_ctx) in kvm_timer_should_fire()390 if (timer_ctx->loaded) { in kvm_timer_should_fire()452 timer_ctx->irq.level); in kvm_timer_update_irq()456 timer_irq(timer_ctx), in kvm_timer_update_irq()457 timer_ctx->irq.level, in kvm_timer_update_irq()[all …]