Searched refs:cnthctl_el2 (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/ |
H A D | timer-sr.c | 31 val = read_sysreg(cnthctl_el2); in __timer_disable_traps() 33 write_sysreg(val, cnthctl_el2); in __timer_disable_traps() 61 sysreg_clear_set(cnthctl_el2, clr, set); in __timer_enable_traps()
|
/openbmc/u-boot/arch/arm/include/asm/ |
H A D | macro.h | 243 mrs \tmp, cnthctl_el2 247 msr cnthctl_el2, \tmp
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | el2_setup.h | 56 msr cnthctl_el2, x0
|
/openbmc/linux/arch/arm64/kvm/ |
H A D | arch_timer.c | 821 sysreg_clear_set(cnthctl_el2, clr, set); in timer_set_traps() 1556 sysreg_clear_set(cnthctl_el2, 0, CNTHCTL_ECV); in kvm_timer_init_vhe()
|
/openbmc/qemu/target/arm/ |
H A D | helper.c | 2504 cntkctl = env->cp15.cnthctl_el2; in gt_cntfrq_access() 2542 return (extract32(env->cp15.cnthctl_el2, timeridx, 1) in gt_counter_access() 2555 ? !extract32(env->cp15.cnthctl_el2, 10, 1) in gt_counter_access() 2556 : !extract32(env->cp15.cnthctl_el2, 0, 1))) { in gt_counter_access() 2560 if (FIELD_EX64(env->cp15.cnthctl_el2, CNTHCTL, EL1TVCT)) { in gt_counter_access() 2580 return (extract32(env->cp15.cnthctl_el2, 9 - timeridx, 1) in gt_timer_access() 2597 if (!extract32(env->cp15.cnthctl_el2, 11, 1)) { in gt_timer_access() 2602 if (!extract32(env->cp15.cnthctl_el2, 1, 1)) { in gt_timer_access() 2608 if (FIELD_EX64(env->cp15.cnthctl_el2, CNTHCTL, EL1TVT)) { in gt_timer_access() 2681 uint64_t cnthctl = env->cp15.cnthctl_el2; in gt_update_irq() [all …]
|
H A D | cpu.h | 457 uint64_t cnthctl_el2; /* Counter/Timer Hyp Control register */ member
|