Home
last modified time | relevance | path

Searched refs:cntkctl (Results 1 – 2 of 2) sorted by relevance

/arch/arm64/include/asm/
Darch_timer.h98 u32 cntkctl; in arch_timer_get_cntkctl() local
99 asm volatile("mrs %0, cntkctl_el1" : "=r" (cntkctl)); in arch_timer_get_cntkctl()
100 return cntkctl; in arch_timer_get_cntkctl()
103 static inline void arch_timer_set_cntkctl(u32 cntkctl) in arch_timer_set_cntkctl() argument
105 asm volatile("msr cntkctl_el1, %0" : : "r" (cntkctl)); in arch_timer_set_cntkctl()
/arch/arm/include/asm/
Darch_timer.h101 u32 cntkctl; in arch_timer_get_cntkctl() local
102 asm volatile("mrc p15, 0, %0, c14, c1, 0" : "=r" (cntkctl)); in arch_timer_get_cntkctl()
103 return cntkctl; in arch_timer_get_cntkctl()
106 static inline void arch_timer_set_cntkctl(u32 cntkctl) in arch_timer_set_cntkctl() argument
108 asm volatile("mcr p15, 0, %0, c14, c1, 0" : : "r" (cntkctl)); in arch_timer_set_cntkctl()