Searched refs:cntfrq (Results 1 – 2 of 2) sorted by relevance
18 unsigned long cntfrq; in get_tbclk() local19 asm volatile("mrs %0, cntfrq_el0" : "=r" (cntfrq)); in get_tbclk()20 return cntfrq; in get_tbclk()
585 unsigned long cntfrq = COUNTER_FREQUENCY_REAL; in timer_init() local589 asm volatile("msr cntfrq_el0, %0" : : "r" (cntfrq) : "memory"); in timer_init()