Searched refs:cval (Results 1 – 4 of 4) sorted by relevance
19 uint64_t cval; member30 uint64_t cval; in tsp_generic_timer_start() local34 cval = read_cntpct_el0() + (read_cntfrq_el0() >> 1); in tsp_generic_timer_start()35 write_cntps_cval_el1(cval); in tsp_generic_timer_start()76 pcpu_timer_context[linear_id].cval = read_cntps_cval_el1(); in tsp_generic_timer_save()89 write_cntps_cval_el1(pcpu_timer_context[linear_id].cval); in tsp_generic_timer_restore()
29 uint64_t cval; in generic_timer_backup() local31 cval = read_cntpct_el0(); in generic_timer_backup()32 cpuxgpt_set_init_cnt((uint32_t)(cval >> 32), in generic_timer_backup()33 (uint32_t)(cval & 0xffffffff)); in generic_timer_backup()
24 uint64_t cval; in sched_clock() local28 cval = ((rel_base * 1000U) / SYS_COUNTER_FREQ_IN_MHZ) in sched_clock()30 return cval; in sched_clock()
31 uint64_t cval; in sched_clock() local33 cval = (((read_cntpct_el0() - atf_time_base)*1000)/ in sched_clock()35 return cval; in sched_clock()
Completed in 4 milliseconds