Lines Matching refs:timer_index
910 payload->timer_index = stimer->index; in stimer_prepare_msg()
915 static void stimer_init(struct kvm_vcpu_hv_stimer *stimer, int timer_index) in stimer_init() argument
918 stimer->index = timer_index; in stimer_init()
1521 int timer_index = (msr - HV_X64_MSR_STIMER0_CONFIG)/2; in kvm_hv_set_msr() local
1523 return stimer_set_config(to_hv_stimer(vcpu, timer_index), in kvm_hv_set_msr()
1530 int timer_index = (msr - HV_X64_MSR_STIMER0_COUNT)/2; in kvm_hv_set_msr() local
1532 return stimer_set_count(to_hv_stimer(vcpu, timer_index), in kvm_hv_set_msr()
1639 int timer_index = (msr - HV_X64_MSR_STIMER0_CONFIG)/2; in kvm_hv_get_msr() local
1641 return stimer_get_config(to_hv_stimer(vcpu, timer_index), in kvm_hv_get_msr()
1648 int timer_index = (msr - HV_X64_MSR_STIMER0_COUNT)/2; in kvm_hv_get_msr() local
1650 return stimer_get_count(to_hv_stimer(vcpu, timer_index), in kvm_hv_get_msr()