Searched refs:cntfrq (Results 1 – 5 of 5) sorted by relevance
20 uint32_t cntfrq = read_cntfrq(); in arm_cntpct_get_sys_time() local22 time->seconds = cntpct / cntfrq; in arm_cntpct_get_sys_time()23 time->millis = (cntpct % cntfrq) / (cntfrq / TEE_TIME_MILLIS_BASE); in arm_cntpct_get_sys_time()
89 static uint32_t cntfrq; variable227 assert(cntfrq == 0); in primary_save_cntfrq()233 cntfrq = read_cntfrq(); in primary_save_cntfrq()238 assert(cntfrq != 0); in secondary_init_cntfrq()239 write_cntfrq(cntfrq); in secondary_init_cntfrq()
33 DEFINE_REG_READ_FUNC_(cntfrq, uint32_t, cntfrq_el0)
190 uint32_t cntfrq = read_cntfrq(); in ftrace_duration() local200 ticks = ticks * 1000000000 / cntfrq; in ftrace_duration()
401 DEFINE_REG_READ_FUNC_(cntfrq, uint32_t, cntfrq_el0)
Completed in 9 milliseconds