Home
last modified time | relevance | path

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

/linux-6.12.1/arch/arm64/include/asm/
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-6.12.1/arch/arm64/kvm/
Darch_timer.c396 cnt_ctl = read_sysreg_el0(SYS_CNTV_CTL); in kvm_timer_should_fire()
400 cnt_ctl = read_sysreg_el0(SYS_CNTP_CTL); in kvm_timer_should_fire()
516 timer_set_ctl(ctx, read_sysreg_el0(SYS_CNTV_CTL)); in timer_save_state()
517 timer_set_cval(ctx, read_sysreg_el0(SYS_CNTV_CVAL)); in timer_save_state()
542 timer_set_ctl(ctx, read_sysreg_el0(SYS_CNTP_CTL)); in timer_save_state()
543 cval = read_sysreg_el0(SYS_CNTP_CVAL); in timer_save_state()
/linux-6.12.1/arch/arm64/kvm/hyp/vhe/
Dswitch.c189 val = read_sysreg_el0(SYS_CNTP_CVAL); in __deactivate_traps()