Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/kvm/
Dhyperv.c188 struct kvm_vcpu_hv_stimer *stimer; in kvm_hv_notify_acked_sint() local
198 for (idx = 0; idx < ARRAY_SIZE(hv_vcpu->stimer); idx++) { in kvm_hv_notify_acked_sint()
199 stimer = &hv_vcpu->stimer[idx]; in kvm_hv_notify_acked_sint()
200 if (stimer->msg_pending && in kvm_hv_notify_acked_sint()
201 (stimer->config & HV_STIMER_ENABLE) && in kvm_hv_notify_acked_sint()
202 HV_STIMER_SINT(stimer->config) == sint) { in kvm_hv_notify_acked_sint()
203 set_bit(stimer->index, in kvm_hv_notify_acked_sint()
445 static void stimer_mark_pending(struct kvm_vcpu_hv_stimer *stimer, in stimer_mark_pending() argument
448 struct kvm_vcpu *vcpu = stimer_to_vcpu(stimer); in stimer_mark_pending()
450 set_bit(stimer->index, in stimer_mark_pending()
[all …]
Dhyperv.h68 return &vcpu_to_hv_vcpu(vcpu)->stimer[timer_index]; in vcpu_to_stimer()
71 static inline struct kvm_vcpu *stimer_to_vcpu(struct kvm_vcpu_hv_stimer *stimer) in stimer_to_vcpu() argument
75 hv_vcpu = container_of(stimer - stimer->index, struct kvm_vcpu_hv, in stimer_to_vcpu()
76 stimer[0]); in stimer_to_vcpu()
/Linux-v4.19/sound/pci/trident/
Dtrident.h323 unsigned int stimer; /* global sample timer (to detect spurious interrupts) */ member
Dtrident_main.c1581 evoice->stimer = val; in snd_trident_trigger()
1585 voice->stimer = val; in snd_trident_trigger()
3722 unsigned int audio_int, chn_int, stimer, channel, mask, tmp; in snd_trident_interrupt() local
3732 stimer = inl(TRID_REG(trident, T4D_STIMER)) & 0x00ffffff; in snd_trident_interrupt()
3750 delta = (int)stimer - (int)voice->stimer; in snd_trident_interrupt()
3760 voice->stimer = stimer; in snd_trident_interrupt()
/Linux-v4.19/arch/x86/include/asm/
Dkvm_host.h491 struct kvm_vcpu_hv_stimer stimer[HV_SYNIC_STIMER_COUNT]; member