Searched refs:read_sysreg_el0 (Results 1 - 5 of 5) sorted by relevance
/kernel/linux/linux-6.6/arch/arm64/include/asm/ |
H A D | kvm_hyp.h | 27 #define read_sysreg_el0(r) read_sysreg_s(r##_EL02) macro 61 #define read_sysreg_el0(r) read_sysreg_elx(r, _EL0, _EL02) macro
|
/kernel/linux/linux-5.10/arch/arm64/kvm/ |
H A D | arch_timer.c | 327 cnt_ctl = read_sysreg_el0(SYS_CNTV_CTL); in kvm_timer_should_fire() 330 cnt_ctl = read_sysreg_el0(SYS_CNTP_CTL); in kvm_timer_should_fire() 440 timer_set_ctl(ctx, read_sysreg_el0(SYS_CNTV_CTL)); in timer_save_state() 441 timer_set_cval(ctx, read_sysreg_el0(SYS_CNTV_CVAL)); in timer_save_state() 449 timer_set_ctl(ctx, read_sysreg_el0(SYS_CNTP_CTL)); in timer_save_state() 450 timer_set_cval(ctx, read_sysreg_el0(SYS_CNTP_CVAL)); in timer_save_state()
|
/kernel/linux/linux-6.6/arch/arm64/kvm/ |
H A D | arch_timer.c | 397 cnt_ctl = read_sysreg_el0(SYS_CNTV_CTL); in kvm_timer_should_fire() 401 cnt_ctl = read_sysreg_el0(SYS_CNTP_CTL); in kvm_timer_should_fire() 517 timer_set_ctl(ctx, read_sysreg_el0(SYS_CNTV_CTL)); in timer_save_state() 518 timer_set_cval(ctx, read_sysreg_el0(SYS_CNTV_CVAL)); in timer_save_state() 543 timer_set_ctl(ctx, read_sysreg_el0(SYS_CNTP_CTL)); in timer_save_state() 544 cval = read_sysreg_el0(SYS_CNTP_CVAL); in timer_save_state()
|
/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
H A D | kvm_hyp.h | 43 #define read_sysreg_el0(r) read_sysreg_elx(r, _EL0, _EL02) macro
|
/kernel/linux/linux-6.6/arch/arm64/kvm/hyp/vhe/ |
H A D | switch.c | 110 val = read_sysreg_el0(SYS_CNTP_CVAL); in __deactivate_traps()
|
Completed in 5 milliseconds