Home
last modified time | relevance | path

Searched refs:read_sysreg_el0 (Results 1 – 3 of 3) sorted by relevance

/linux/arch/arm64/kvm/hyp/vhe/
H A Dswitch.c163 val = read_sysreg_el0(SYS_CNTP_CVAL); in __deactivate_traps()
284 val = read_sysreg_el0(SYS_CNTP_CTL); in kvm_hyp_handle_timer()
293 val = read_sysreg_el0(SYS_CNTP_CVAL); in kvm_hyp_handle_timer()
310 val = read_sysreg_el0(SYS_CNTV_CTL); in kvm_hyp_handle_timer()
319 val = read_sysreg_el0(SYS_CNTV_CVAL); in kvm_hyp_handle_timer()
/linux/arch/arm64/include/asm/
H A Dkvm_hyp.h27 #define read_sysreg_el0(r) read_sysreg_s(r##_EL02) macro
61 #define read_sysreg_el0(r) read_sysreg_elx(r, _EL0, _EL02) macro
/linux/arch/arm64/kvm/
H A Darch_timer.c371 cnt_ctl = read_sysreg_el0(SYS_CNTV_CTL); in kvm_timer_should_fire()
375 cnt_ctl = read_sysreg_el0(SYS_CNTP_CTL); in kvm_timer_should_fire()
509 timer_set_ctl(ctx, read_sysreg_el0(SYS_CNTV_CTL)); in timer_save_state()
510 cval = read_sysreg_el0(SYS_CNTV_CVAL); in timer_save_state()
540 timer_set_ctl(ctx, read_sysreg_el0(SYS_CNTP_CTL)); in timer_save_state()
541 cval = read_sysreg_el0(SYS_CNTP_CVAL); in timer_save_state()