Home
last modified time | relevance | path

Searched refs:stimer (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/kvm/
H A Dhyperv.c41 static void stimer_mark_pending(struct kvm_vcpu_hv_stimer *stimer,
169 struct kvm_vcpu_hv_stimer *stimer; in kvm_hv_notify_acked_sint() local
175 for (idx = 0; idx < ARRAY_SIZE(hv_vcpu->stimer); idx++) { in kvm_hv_notify_acked_sint()
176 stimer = &hv_vcpu->stimer[idx]; in kvm_hv_notify_acked_sint()
177 if (stimer->msg_pending && stimer->config.enable && in kvm_hv_notify_acked_sint()
178 !stimer->config.direct_mode && in kvm_hv_notify_acked_sint()
179 stimer->config.sintx == sint) in kvm_hv_notify_acked_sint()
180 stimer_mark_pending(stimer, fals in kvm_hv_notify_acked_sint()
540 stimer_mark_pending(struct kvm_vcpu_hv_stimer *stimer, bool vcpu_kick) stimer_mark_pending() argument
552 stimer_cleanup(struct kvm_vcpu_hv_stimer *stimer) stimer_cleanup() argument
568 struct kvm_vcpu_hv_stimer *stimer; stimer_timer_callback() local
583 stimer_start(struct kvm_vcpu_hv_stimer *stimer) stimer_start() argument
637 stimer_set_config(struct kvm_vcpu_hv_stimer *stimer, u64 config, bool host) stimer_set_config() argument
663 stimer_set_count(struct kvm_vcpu_hv_stimer *stimer, u64 count, bool host) stimer_set_count() argument
690 stimer_get_config(struct kvm_vcpu_hv_stimer *stimer, u64 *pconfig) stimer_get_config() argument
696 stimer_get_count(struct kvm_vcpu_hv_stimer *stimer, u64 *pcount) stimer_get_count() argument
759 stimer_send_msg(struct kvm_vcpu_hv_stimer *stimer) stimer_send_msg() argument
779 stimer_notify_direct(struct kvm_vcpu_hv_stimer *stimer) stimer_notify_direct() argument
792 stimer_expiration(struct kvm_vcpu_hv_stimer *stimer) stimer_expiration() argument
813 struct kvm_vcpu_hv_stimer *stimer; kvm_hv_process_stimers() local
867 stimer_prepare_msg(struct kvm_vcpu_hv_stimer *stimer) stimer_prepare_msg() argument
882 stimer_init(struct kvm_vcpu_hv_stimer *stimer, int timer_index) stimer_init() argument
[all...]
H A Dhyperv.h103 return &vcpu_to_hv_vcpu(vcpu)->stimer[timer_index]; in vcpu_to_stimer()
106 static inline struct kvm_vcpu *stimer_to_vcpu(struct kvm_vcpu_hv_stimer *stimer) in stimer_to_vcpu() argument
110 hv_vcpu = container_of(stimer - stimer->index, struct kvm_vcpu_hv, in stimer_to_vcpu()
111 stimer[0]); in stimer_to_vcpu()
/kernel/linux/linux-6.6/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, fals in kvm_hv_notify_acked_sint()
587 stimer_mark_pending(struct kvm_vcpu_hv_stimer *stimer, bool vcpu_kick) stimer_mark_pending() argument
599 stimer_cleanup(struct kvm_vcpu_hv_stimer *stimer) stimer_cleanup() argument
615 struct kvm_vcpu_hv_stimer *stimer; stimer_timer_callback() local
630 stimer_start(struct kvm_vcpu_hv_stimer *stimer) stimer_start() argument
684 stimer_set_config(struct kvm_vcpu_hv_stimer *stimer, u64 config, bool host) stimer_set_config() argument
716 stimer_set_count(struct kvm_vcpu_hv_stimer *stimer, u64 count, bool host) stimer_set_count() argument
743 stimer_get_config(struct kvm_vcpu_hv_stimer *stimer, u64 *pconfig) stimer_get_config() argument
749 stimer_get_count(struct kvm_vcpu_hv_stimer *stimer, u64 *pcount) stimer_get_count() argument
812 stimer_send_msg(struct kvm_vcpu_hv_stimer *stimer) stimer_send_msg() argument
832 stimer_notify_direct(struct kvm_vcpu_hv_stimer *stimer) stimer_notify_direct() argument
845 stimer_expiration(struct kvm_vcpu_hv_stimer *stimer) stimer_expiration() argument
866 struct kvm_vcpu_hv_stimer *stimer; kvm_hv_process_stimers() local
936 stimer_prepare_msg(struct kvm_vcpu_hv_stimer *stimer) stimer_prepare_msg() argument
951 stimer_init(struct kvm_vcpu_hv_stimer *stimer, int timer_index) stimer_init() argument
[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()
/kernel/linux/linux-5.10/sound/pci/trident/
H A Dtrident.h308 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()
3669 unsigned int audio_int, chn_int, stimer, channel, mask, tmp; in snd_trident_interrupt() local
3679 stimer = inl(TRID_REG(trident, T4D_STIMER)) & 0x00ffffff; in snd_trident_interrupt()
3697 delta = (int)stimer - (int)voice->stimer; in snd_trident_interrupt()
3707 voice->stimer = stimer; in snd_trident_interrupt()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/arch/x86/include/asm/
H A Dkvm_host.h519 struct kvm_vcpu_hv_stimer stimer[HV_SYNIC_STIMER_COUNT]; member
/kernel/linux/linux-6.6/arch/x86/include/asm/
H A Dkvm_host.h649 struct kvm_vcpu_hv_stimer stimer[HV_SYNIC_STIMER_COUNT]; member

Completed in 24 milliseconds