Home
last modified time | relevance | path

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

/external/u-boot/arch/arm/cpu/armv8/
Dgeneric_timer.c18 unsigned long cntfrq; in get_tbclk() local
19 asm volatile("mrs %0, cntfrq_el0" : "=r" (cntfrq)); in get_tbclk()
20 return cntfrq; in get_tbclk()
/external/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
Dcpu.c585 unsigned long cntfrq = COUNTER_FREQUENCY_REAL; in timer_init() local
589 asm volatile("msr cntfrq_el0, %0" : : "r" (cntfrq) : "memory"); in timer_init()