Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm64/kvm/
H A Dtrace_arm.h215 __entry->direct_vtimer = arch_timer_ctx_index(map->direct_vtimer);
217 (map->direct_ptimer) ? arch_timer_ctx_index(map->direct_ptimer) : -1;
219 (map->emul_vtimer) ? arch_timer_ctx_index(map->emul_vtimer) : -1;
221 (map->emul_ptimer) ? arch_timer_ctx_index(map->emul_ptimer) : -1;
245 __entry->timer_idx = arch_timer_ctx_index(ctx);
267 __entry->timer_idx = arch_timer_ctx_index(ctx);
285 __entry->timer_idx = arch_timer_ctx_index(ctx);
301 __entry->timer_idx = arch_timer_ctx_index(ctx);
H A Darch_timer.c70 switch(arch_timer_ctx_index(ctxt)) { in timer_get_ctl()
89 switch(arch_timer_ctx_index(ctxt)) { in timer_get_cval()
123 switch(arch_timer_ctx_index(ctxt)) { in timer_set_ctl()
145 switch(arch_timer_ctx_index(ctxt)) { in timer_set_cval()
166 WARN(offset, "timer %ld\n", arch_timer_ctx_index(ctxt)); in timer_set_offset()
389 index = arch_timer_ctx_index(timer_ctx); in kvm_timer_should_fire()
501 enum kvm_arch_timers index = arch_timer_ctx_index(ctx); in timer_save_state()
607 enum kvm_arch_timers index = arch_timer_ctx_index(ctx); in timer_restore_state()
/openbmc/linux/include/kvm/
H A Darm_arch_timer.h129 #define arch_timer_ctx_index(ctx) ((ctx) - vcpu_timer((ctx)->vcpu)->timers) macro
132 #define timer_irq(ctx) (timer_vm_data(ctx)->ppi[arch_timer_ctx_index(ctx)])