Home
last modified time | relevance | path

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

/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()
591 static void stimer_mark_pending(struct kvm_vcpu_hv_stimer *stimer, in stimer_mark_pending() argument
594 struct kvm_vcpu *vcpu = hv_stimer_to_vcpu(stimer); in stimer_mark_pending()
[all …]
H A Dhyperv.h130 return &to_hv_vcpu(vcpu)->stimer[timer_index]; in to_hv_stimer()
133 static inline struct kvm_vcpu *hv_stimer_to_vcpu(struct kvm_vcpu_hv_stimer *stimer) in hv_stimer_to_vcpu() argument
137 hv_vcpu = container_of(stimer - stimer->index, struct kvm_vcpu_hv, in hv_stimer_to_vcpu()
138 stimer[0]); in hv_stimer_to_vcpu()
/linux/sound/pci/trident/
H A Dtrident.h307 unsigned int stimer; /* global sample timer (to detect spurious interrupts) */ member
H A Dtrident_main.c1519 evoice->stimer = val; in snd_trident_trigger()
1523 voice->stimer = val; in snd_trident_trigger()
3621 unsigned int audio_int, chn_int, stimer, channel, mask, tmp; in snd_trident_interrupt() local
3631 stimer = inl(TRID_REG(trident, T4D_STIMER)) & 0x00ffffff; in snd_trident_interrupt()
3647 delta = (int)stimer - (int)voice->stimer; in snd_trident_interrupt()
3657 voice->stimer = stimer; in snd_trident_interrupt()