Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/kvm/
Dhyperv.c43 static void stimer_mark_pending(struct kvm_vcpu_hv_stimer *stimer,
202 struct kvm_vcpu_hv_stimer *stimer; in kvm_hv_notify_acked_sint() local
208 for (idx = 0; idx < ARRAY_SIZE(hv_vcpu->stimer); idx++) { in kvm_hv_notify_acked_sint()
209 stimer = &hv_vcpu->stimer[idx]; in kvm_hv_notify_acked_sint()
210 if (stimer->msg_pending && stimer->config.enable && in kvm_hv_notify_acked_sint()
211 !stimer->config.direct_mode && in kvm_hv_notify_acked_sint()
212 stimer->config.sintx == sint) in kvm_hv_notify_acked_sint()
213 stimer_mark_pending(stimer, false); in kvm_hv_notify_acked_sint()
565 static void stimer_mark_pending(struct kvm_vcpu_hv_stimer *stimer, in stimer_mark_pending() argument
568 struct kvm_vcpu *vcpu = hv_stimer_to_vcpu(stimer); in stimer_mark_pending()
[all …]
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()
/linux-6.1.9/sound/pci/trident/
Dtrident.h307 unsigned int stimer; /* global sample timer (to detect spurious interrupts) */ member
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()
/linux-6.1.9/arch/x86/include/asm/
Dkvm_host.h613 struct kvm_vcpu_hv_stimer stimer[HV_SYNIC_STIMER_COUNT]; member