Searched refs:read_cntpct_el0 (Results 1 – 25 of 26) sorted by relevance
12
15 return read_cntpct_el0() * 1000 / read_cntfrq_el0() - start; in ls_get_timer()26 return (uint32_t)(~read_cntpct_el0()); in ls_timeus_get_value()
26 base_count = read_cntpct_el0(); in rcar_micro_delay()28 get_count = read_cntpct_el0(); in rcar_micro_delay()
39 cnt += read_cntpct_el0(); in timeout_init_us()46 return read_cntpct_el0() > expire_cnt; in timeout_elapsed()
21 return RANDOM_CANARY_VALUE ^ read_cntpct_el0(); in plat_get_stack_protector_canary()
22 return RANDOM_CANARY_VALUE ^ read_cntpct_el0(); in plat_get_stack_protector_canary()
30 return RANDOM_CANARY_VALUE ^ read_cntpct_el0(); in plat_get_stack_protector_canary()
27 return seed ^ read_cntpct_el0(); in plat_get_stack_protector_canary()
19 return (uint32_t)(~read_cntpct_el0()); in plat_get_timer_value()
204 atf_base = read_cntpct_el0(); in bl31_early_platform_setup2()
22 return (uint32_t)(~read_cntpct_el0()); in plat_get_timer_value()
26 return (uint32_t)(~read_cntpct_el0()); in socfpga_get_timer_value()
21 uint64_t cntpct = read_cntpct_el0(); in plat_init_apkey()
31 cval = read_cntpct_el0(); in generic_timer_backup()
27 rel_base = read_cntpct_el0() - atf_time_base; in sched_clock()
16 uint64_t cntpct = read_cntpct_el0(); in plat_generate_random_number()
29 return (uint32_t)(~read_cntpct_el0()); in get_timer_value()
33 cval = (((read_cntpct_el0() - atf_time_base)*1000)/ in sched_clock()
34 cval = read_cntpct_el0() + (read_cntfrq_el0() >> 1); in tsp_generic_timer_start()
156 uint32_t tick_start = (uint32_t)read_cntpct_el0(); in k3_sec_proxy_verify_thread()161 if (((uint32_t)read_cntpct_el0() - tick_start) > in k3_sec_proxy_verify_thread()
60 unsigned long long ts = read_cntpct_el0(); \69 (_tsval) = read_cntpct_el0(); \
455 pct_orig = read_cntpct_el0(); in sram_udelay()459 pct_now = read_cntpct_el0(); in sram_udelay()
53 uint64_t uptime = read_cntpct_el0(); in qtiseclib_cb_log()
397 #define read_cntpct_el0() read64_cntpct() macro
87 return (uint32_t)(~read_cntpct_el0()); in sram_get_timer_value()