Home
last modified time | relevance | path

Searched refs:counter_base_frequency (Results 1 – 7 of 7) sorted by relevance

/trusted-firmware-a/plat/arm/board/fvp/
A Dfvp_bl31_setup.c86 unsigned int counter_base_frequency; in plat_get_syscnt_freq2() local
90 counter_base_frequency = FCONF_GET_PROPERTY(hw_config, cpu_timer, clock_freq); in plat_get_syscnt_freq2()
91 if (counter_base_frequency > 0U) { in plat_get_syscnt_freq2()
92 return counter_base_frequency; in plat_get_syscnt_freq2()
97 counter_base_frequency = mmio_read_32(ARM_SYS_CNTCTL_BASE + CNTFID_OFF); in plat_get_syscnt_freq2()
100 if (counter_base_frequency == 0U) { in plat_get_syscnt_freq2()
104 return counter_base_frequency; in plat_get_syscnt_freq2()
/trusted-firmware-a/drivers/nxp/timer/
A Dnxp_timer.c83 unsigned int counter_base_frequency = plat_get_syscnt_freq2(); in delay_timer_init() local
87 if (counter_base_frequency > MHZ_TICKS_PER_SEC) { in delay_timer_init()
88 counter_base_frequency = (counter_base_frequency in delay_timer_init()
92 counter_base_frequency = (counter_base_frequency in delay_timer_init()
98 div = counter_base_frequency; in delay_timer_init()
/trusted-firmware-a/plat/arm/common/
A Darm_common.c178 unsigned int counter_base_frequency; in plat_get_syscnt_freq2() local
181 counter_base_frequency = mmio_read_32(ARM_SYS_CNTCTL_BASE + CNTFID_OFF); in plat_get_syscnt_freq2()
184 if (counter_base_frequency == 0U) in plat_get_syscnt_freq2()
187 return counter_base_frequency; in plat_get_syscnt_freq2()
/trusted-firmware-a/plat/socionext/synquacer/
A Dsq_bl31_setup.c190 unsigned int counter_base_frequency; in plat_get_syscnt_freq2() local
193 counter_base_frequency = mmio_read_32(SQ_SYS_CNTCTL_BASE + CNTFID_OFF); in plat_get_syscnt_freq2()
196 if (counter_base_frequency == 0) in plat_get_syscnt_freq2()
199 return counter_base_frequency; in plat_get_syscnt_freq2()
/trusted-firmware-a/plat/layerscape/common/
A Dls_common.c197 unsigned int counter_base_frequency; in plat_get_syscnt_freq2() local
199 counter_base_frequency = COUNTER_FREQUENCY; in plat_get_syscnt_freq2()
201 return counter_base_frequency; in plat_get_syscnt_freq2()
/trusted-firmware-a/plat/nxp/soc-ls1028a/
A Dsoc.c75 unsigned int counter_base_frequency; in plat_get_syscnt_freq2() local
81 counter_base_frequency = mmio_read_32(NXP_TIMER_ADDR + CNTFID_OFF); in plat_get_syscnt_freq2()
83 return counter_base_frequency; in plat_get_syscnt_freq2()
/trusted-firmware-a/plat/nxp/soc-lx2160a/
A Dsoc.c96 unsigned int counter_base_frequency; in plat_get_syscnt_freq2() local
104 counter_base_frequency = mmio_read_32(NXP_TIMER_ADDR + CNTFID_OFF); in plat_get_syscnt_freq2()
106 return counter_base_frequency; in plat_get_syscnt_freq2()

Completed in 8 milliseconds