Lines Matching refs:timer_index
944 payload->timer_index = stimer->index; in stimer_prepare_msg()
949 static void stimer_init(struct kvm_vcpu_hv_stimer *stimer, int timer_index) in stimer_init() argument
952 stimer->index = timer_index; in stimer_init()
1551 int timer_index = (msr - HV_X64_MSR_STIMER0_CONFIG)/2; in kvm_hv_set_msr() local
1553 return stimer_set_config(to_hv_stimer(vcpu, timer_index), in kvm_hv_set_msr()
1560 int timer_index = (msr - HV_X64_MSR_STIMER0_COUNT)/2; in kvm_hv_set_msr() local
1562 return stimer_set_count(to_hv_stimer(vcpu, timer_index), in kvm_hv_set_msr()
1671 int timer_index = (msr - HV_X64_MSR_STIMER0_CONFIG)/2; in kvm_hv_get_msr() local
1673 return stimer_get_config(to_hv_stimer(vcpu, timer_index), in kvm_hv_get_msr()
1680 int timer_index = (msr - HV_X64_MSR_STIMER0_COUNT)/2; in kvm_hv_get_msr() local
1682 return stimer_get_count(to_hv_stimer(vcpu, timer_index), in kvm_hv_get_msr()