Searched refs:write_sysreg_el0 (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/arch/arm64/include/asm/ |
D | kvm_hyp.h | 28 #define write_sysreg_el0(v,r) write_sysreg_s(v, r##_EL02) macro 62 #define write_sysreg_el0(v,r) write_sysreg_elx(v, r, _EL0, _EL02) macro
|
/linux-6.12.1/arch/arm64/kvm/ |
D | arch_timer.c | 520 write_sysreg_el0(0, SYS_CNTV_CTL); in timer_save_state() 550 write_sysreg_el0(0, SYS_CNTP_CTL); in timer_save_state() 623 write_sysreg_el0(timer_get_cval(ctx), SYS_CNTV_CVAL); in timer_restore_state() 625 write_sysreg_el0(timer_get_ctl(ctx), SYS_CNTV_CTL); in timer_restore_state() 633 write_sysreg_el0(cval, SYS_CNTP_CVAL); in timer_restore_state() 635 write_sysreg_el0(timer_get_ctl(ctx), SYS_CNTP_CTL); in timer_restore_state()
|
/linux-6.12.1/arch/arm64/kvm/hyp/vhe/ |
D | switch.c | 160 write_sysreg_el0(val, SYS_CNTP_CVAL); in __activate_traps() 198 write_sysreg_el0(val + offset, SYS_CNTP_CVAL); in __deactivate_traps()
|