Searched refs:cntkctl (Results 1 – 3 of 3) sorted by relevance
/linux-5.19.10/arch/arm/include/asm/ |
D | arch_timer.h | 124 u32 cntkctl; in arch_timer_get_cntkctl() local 125 asm volatile("mrc p15, 0, %0, c14, c1, 0" : "=r" (cntkctl)); in arch_timer_get_cntkctl() 126 return cntkctl; in arch_timer_get_cntkctl() 129 static inline void arch_timer_set_cntkctl(u32 cntkctl) in arch_timer_set_cntkctl() argument 131 asm volatile("mcr p15, 0, %0, c14, c1, 0" : : "r" (cntkctl)); in arch_timer_set_cntkctl()
|
/linux-5.19.10/arch/arm64/include/asm/ |
D | arch_timer.h | 170 static inline void arch_timer_set_cntkctl(u32 cntkctl) in arch_timer_set_cntkctl() argument 172 write_sysreg(cntkctl, cntkctl_el1); in arch_timer_set_cntkctl()
|
/linux-5.19.10/drivers/clocksource/ |
D | arm_arch_timer.c | 885 u32 cntkctl = arch_timer_get_cntkctl(); in arch_timer_evtstrm_enable() local 890 cntkctl |= ARCH_TIMER_EVT_INTERVAL_SCALE; in arch_timer_evtstrm_enable() 896 cntkctl &= ~ARCH_TIMER_EVT_TRIGGER_MASK; in arch_timer_evtstrm_enable() 898 cntkctl |= (divider << ARCH_TIMER_EVT_TRIGGER_SHIFT) in arch_timer_evtstrm_enable() 900 arch_timer_set_cntkctl(cntkctl); in arch_timer_evtstrm_enable() 929 u32 cntkctl = arch_timer_get_cntkctl(); in arch_counter_set_user_access() local 933 cntkctl &= ~(ARCH_TIMER_USR_PT_ACCESS_EN in arch_counter_set_user_access() 947 cntkctl |= ARCH_TIMER_USR_VCT_ACCESS_EN; in arch_counter_set_user_access() 949 arch_timer_set_cntkctl(cntkctl); in arch_counter_set_user_access()
|