Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/arch/arm/cpu/armv8/
H A Dgeneric_timer.c19 unsigned long cntfrq; in get_tbclk() local
20 asm volatile("mrs %0, cntfrq_el0" : "=r" (cntfrq)); in get_tbclk()
21 return cntfrq; in get_tbclk()
/rk3399_rockchip-uboot/arch/arm/cpu/armv8/fsl-layerscape/
H A Dcpu.c539 unsigned long cntfrq = COUNTER_FREQUENCY_REAL; in timer_init() local
543 asm volatile("msr cntfrq_el0, %0" : : "r" (cntfrq) : "memory"); in timer_init()