Home
last modified time | relevance | path

Searched refs:stimer (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/arch/x86/kvm/
H A Dhyperv.c65 static void stimer_mark_pending(struct kvm_vcpu_hv_stimer *stimer,
224 struct kvm_vcpu_hv_stimer *stimer; in kvm_hv_notify_acked_sint() local
230 for (idx = 0; idx < ARRAY_SIZE(hv_vcpu->stimer); idx++) { in kvm_hv_notify_acked_sint()
231 stimer = &hv_vcpu->stimer[idx]; in kvm_hv_notify_acked_sint()
232 if (stimer->msg_pending && stimer->config.enable && in kvm_hv_notify_acked_sint()
233 !stimer->config.direct_mode && in kvm_hv_notify_acked_sint()
234 stimer->config.sintx == sint) in kvm_hv_notify_acked_sint()
235 stimer_mark_pending(stimer, false); in kvm_hv_notify_acked_sint()
587 static void stimer_mark_pending(struct kvm_vcpu_hv_stimer *stimer, in stimer_mark_pending() argument
590 struct kvm_vcpu *vcpu = hv_stimer_to_vcpu(stimer); in stimer_mark_pending()
[all …]
H A Dhyperv.h116 return &to_hv_vcpu(vcpu)->stimer[timer_index]; in to_hv_stimer()
119 static inline struct kvm_vcpu *hv_stimer_to_vcpu(struct kvm_vcpu_hv_stimer *stimer) in hv_stimer_to_vcpu() argument
123 hv_vcpu = container_of(stimer - stimer->index, struct kvm_vcpu_hv, in hv_stimer_to_vcpu()
124 stimer[0]); in hv_stimer_to_vcpu()
/openbmc/qemu/target/riscv/
H A Dtime_helper.c137 env->stimer = timer_new_ns(QEMU_CLOCK_VIRTUAL, &riscv_stimer_cb, cpu); in riscv_timer_init()
H A Dcpu.h474 QEMUTimer *stimer; /* Internal timer for S-mode interrupt */ member
H A Dcsr.c1359 riscv_timer_write_timecmp(env, env->stimer, env->stimecmp, 0, MIP_STIP); in write_stimecmp()
1375 riscv_timer_write_timecmp(env, env->stimer, env->stimecmp, 0, MIP_STIP); in write_stimecmph()
/openbmc/qemu/docs/system/i386/
H A Dhyperv.rst58 hv-synic, hv-stimer and other enlightenments which require the guest to know its
96 ``hv-stimer``
171 ``hv-stimer-direct``
175 use synthetic timers in direct mode and thus ``hv-stimer-direct`` needs to be
178 Requires: ``hv-vpindex``, ``hv-synic``, ``hv-time``, ``hv-stimer``
226 …v-relaxed``, ``hv_time``, ``hv-vapic``, ``hv-vpindex``, ``hv-synic``, ``hv-runtime``, ``hv-stimer``
/openbmc/linux/sound/pci/trident/
H A Dtrident.h307 unsigned int stimer; /* global sample timer (to detect spurious interrupts) */ member
H A Dtrident_main.c1534 evoice->stimer = val; in snd_trident_trigger()
1538 voice->stimer = val; in snd_trident_trigger()
3653 unsigned int audio_int, chn_int, stimer, channel, mask, tmp; in snd_trident_interrupt() local
3663 stimer = inl(TRID_REG(trident, T4D_STIMER)) & 0x00ffffff; in snd_trident_interrupt()
3681 delta = (int)stimer - (int)voice->stimer; in snd_trident_interrupt()
3691 voice->stimer = stimer; in snd_trident_interrupt()
/openbmc/linux/arch/x86/include/asm/
H A Dkvm_host.h649 struct kvm_vcpu_hv_stimer stimer[HV_SYNIC_STIMER_COUNT]; member