Searched refs:stimer (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/arch/x86/kvm/ |
H A D | hyperv.c | 65 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 D | hyperv.h | 116 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 D | time_helper.c | 137 env->stimer = timer_new_ns(QEMU_CLOCK_VIRTUAL, &riscv_stimer_cb, cpu); in riscv_timer_init()
|
H A D | cpu.h | 474 QEMUTimer *stimer; /* Internal timer for S-mode interrupt */ member
|
H A D | csr.c | 1359 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 D | hyperv.rst | 58 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 D | trident.h | 307 unsigned int stimer; /* global sample timer (to detect spurious interrupts) */ member
|
H A D | trident_main.c | 1534 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 D | kvm_host.h | 649 struct kvm_vcpu_hv_stimer stimer[HV_SYNIC_STIMER_COUNT]; member
|