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.c231 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()
592 set_bit(stimer->index, in stimer_mark_pending()
610 stimer->exp_time = 0; in stimer_cleanup()
645 stimer->exp_time = in stimer_start()
649 stimer->exp_time = time_now + stimer->count; in stimer_start()
653 stimer->index, in stimer_start()
662 stimer->exp_time = stimer->count; in stimer_start()
675 stimer->index, in stimer_start()
875 stimer = &hv_vcpu->stimer[i]; in kvm_hv_process_stimers()
[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.c136 env->stimer = timer_new_ns(QEMU_CLOCK_VIRTUAL, &riscv_stimer_cb, cpu); in riscv_timer_init()
H A Dcpu.h460 QEMUTimer *stimer; /* Internal timer for S-mode interrupt */ member
H A Dcsr.c1327 riscv_timer_write_timecmp(env, env->stimer, env->stimecmp, 0, MIP_STIP); in write_stimecmp()
1343 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