Lines Matching refs:__vcpu_sys_reg
72 return __vcpu_sys_reg(vcpu, CNTV_CTL_EL0); in timer_get_ctl()
74 return __vcpu_sys_reg(vcpu, CNTP_CTL_EL0); in timer_get_ctl()
76 return __vcpu_sys_reg(vcpu, CNTHV_CTL_EL2); in timer_get_ctl()
78 return __vcpu_sys_reg(vcpu, CNTHP_CTL_EL2); in timer_get_ctl()
91 return __vcpu_sys_reg(vcpu, CNTV_CVAL_EL0); in timer_get_cval()
93 return __vcpu_sys_reg(vcpu, CNTP_CVAL_EL0); in timer_get_cval()
95 return __vcpu_sys_reg(vcpu, CNTHV_CVAL_EL2); in timer_get_cval()
97 return __vcpu_sys_reg(vcpu, CNTHP_CVAL_EL2); in timer_get_cval()
125 __vcpu_sys_reg(vcpu, CNTV_CTL_EL0) = ctl; in timer_set_ctl()
128 __vcpu_sys_reg(vcpu, CNTP_CTL_EL0) = ctl; in timer_set_ctl()
131 __vcpu_sys_reg(vcpu, CNTHV_CTL_EL2) = ctl; in timer_set_ctl()
134 __vcpu_sys_reg(vcpu, CNTHP_CTL_EL2) = ctl; in timer_set_ctl()
147 __vcpu_sys_reg(vcpu, CNTV_CVAL_EL0) = cval; in timer_set_cval()
150 __vcpu_sys_reg(vcpu, CNTP_CVAL_EL0) = cval; in timer_set_cval()
153 __vcpu_sys_reg(vcpu, CNTHV_CVAL_EL2) = cval; in timer_set_cval()
156 __vcpu_sys_reg(vcpu, CNTHP_CVAL_EL2) = cval; in timer_set_cval()
759 offs->vcpu_offset = &__vcpu_sys_reg(vcpu, CNTVOFF_EL2); in kvm_timer_vcpu_load_nested_switch()
802 u64 val = __vcpu_sys_reg(vcpu, CNTHCTL_EL2); in timer_set_traps()
962 offs->vcpu_offset = &__vcpu_sys_reg(vcpu, CNTVOFF_EL2); in kvm_timer_vcpu_reset()