Searched refs:cntpct (Results 1 – 5 of 5) sorted by relevance
21 uint64_t cntpct; in get_timer_val() local24 cntpct = read_cntpct_el0(); in get_timer_val()25 return (cntpct * 1000ULL / read_cntfrq_el0() - start); in get_timer_val()30 uint64_t cntpct; in timer_get_value() local33 cntpct = read_cntpct_el0(); in timer_get_value()42 while (temp != cntpct && max_fetch_count) { in timer_get_value()44 cntpct = read_cntpct_el0(); in timer_get_value()57 return (uint32_t)(~cntpct); in timer_get_value()
21 uint64_t cntpct = read_cntpct_el0(); in plat_init_apkey() local24 uint64_t key_lo = (return_addr << 13) ^ frame_addr ^ cntpct; in plat_init_apkey()25 uint64_t key_hi = (frame_addr << 15) ^ return_addr ^ cntpct; in plat_init_apkey()
16 uint64_t cntpct = read_cntpct_el0(); in plat_generate_random_number() local22 (((uint64_t)return_addr) << 13) ^ frame_addr ^ cntpct in plat_generate_random_number()26 (((uint64_t)frame_addr) << 15) ^ return_addr ^ cntpct in plat_generate_random_number()
229 DEFINE_COPROCR_READ_FUNC_64(cntpct, CNTPCT_64) in DEFINE_SYSREG_RW_FUNCS()