Searched refs:cntpct (Results 1 – 1 of 1) sorted by relevance
36 unsigned long cntpct; in timer_read_counter() local40 asm volatile("mrs %0, cntpct_el0" : "=r" (cntpct)); in timer_read_counter()42 while (temp != cntpct) { in timer_read_counter()43 asm volatile("mrs %0, cntpct_el0" : "=r" (cntpct)); in timer_read_counter()47 return cntpct; in timer_read_counter()64 unsigned long cntpct; in timer_read_counter() local68 asm volatile("mrs %0, cntpct_el0" : "=r" (cntpct)); in timer_read_counter()69 } while (((cntpct + 1) & GENMASK(10, 0)) <= 1); in timer_read_counter()71 return cntpct; in timer_read_counter()79 unsigned long cntpct; in timer_read_counter() local[all …]