Home
last modified time | relevance | path

Searched refs:get_tbclk (Results 1 – 25 of 59) sorted by relevance

123

/openbmc/u-boot/arch/arm/cpu/armv8/
H A Dgeneric_timer.c16 unsigned long get_tbclk(void) in get_tbclk() function
101 ticks = ((usec * (get_tbclk()/1000)) + 500) / 1000; in usec2ticks()
103 ticks = ((usec / 10) * (get_tbclk() / 100000)); in usec2ticks()
112 return val / get_tbclk(); in timer_get_boot_us()
/openbmc/u-boot/arch/powerpc/lib/
H A Dtime.c22 ticks = ((usec * (get_tbclk()/1000)) + 500) / 1000; in usec2ticks()
24 ticks = ((usec / 10) * (get_tbclk() / 100000)); in usec2ticks()
47 ulong tbclk = get_tbclk(); in ticks2usec()
/openbmc/u-boot/lib/
H A Dtime.c23 ulong notrace get_tbclk(void) in get_tbclk() function
60 ulong notrace get_tbclk(void) in get_tbclk() function
119 ulong div = get_tbclk(); in tick_to_time()
145 tick *= get_tbclk(); in usec_to_tick()
/openbmc/u-boot/arch/arm/cpu/armv7/ls102xa/
H A Dtimer.c24 ticks = ((usec * (get_tbclk()/1000)) + 500) / 1000; in usec2ticks()
26 ticks = ((usec / 10) * (get_tbclk() / 100000)); in usec2ticks()
115 unsigned long get_tbclk(void) in get_tbclk() function
/openbmc/u-boot/arch/arm/mach-imx/
H A Dsyscounter.c27 ticks = ((usec * (get_tbclk()/1000)) + 500) / 1000; in usec2ticks()
29 ticks = ((usec / 10) * (get_tbclk() / 100000)); in usec2ticks()
115 ulong get_tbclk(void) in get_tbclk() function
H A Dtimer.c116 ulong get_tbclk(void) in get_tbclk() function
130 usec *= get_tbclk(); in usec2ticks()
/openbmc/u-boot/arch/powerpc/cpu/mpc86xx/
H A Dinterrupts.c44 *decrementer_count = get_tbclk() / CONFIG_SYS_HZ; in interrupt_init_cpu()
46 (get_tbclk() / 1000000), in interrupt_init_cpu()
/openbmc/u-boot/arch/mips/cpu/
H A Dtime.c15 ulong notrace get_tbclk(void) in get_tbclk() function
/openbmc/u-boot/arch/arm/mach-versal/
H A Dclk.c23 gd->cpu_clk = get_tbclk(); in set_cpu_clk_info()
/openbmc/u-boot/arch/arm/mach-zynqmp/
H A Dclk.c37 gd->cpu_clk = get_tbclk(); in set_cpu_clk_info()
/openbmc/u-boot/arch/powerpc/cpu/mpc8xx/
H A Dfdt.c17 "timebase-frequency", get_tbclk(), 1); in ft_cpu_setup()
/openbmc/u-boot/arch/arm/mach-at91/armv7/
H A Dtimer.c58 ulong get_tbclk(void) in get_tbclk() function
/openbmc/u-boot/arch/arm/mach-at91/arm926ejs/
H A Dtimer.c54 ulong get_tbclk(void) in get_tbclk() function
/openbmc/u-boot/include/
H A Dcli.h154 #define endtick(seconds) (get_ticks() + (uint64_t)(seconds) * get_tbclk())
/openbmc/u-boot/arch/arm/cpu/sa1100/
H A Dtimer.c61 ulong get_tbclk (void) in get_tbclk() function
/openbmc/u-boot/arch/arm/cpu/arm920t/imx/
H A Dtimer.c73 ulong get_tbclk (void) in get_tbclk() function
/openbmc/u-boot/arch/arm/cpu/armv7/
H A Darch_timer.c55 ulong get_tbclk(void) in get_tbclk() function
/openbmc/u-boot/arch/sh/lib/
H A Dtime_sh2.c84 unsigned long get_tbclk(void) in get_tbclk() function
/openbmc/u-boot/drivers/timer/
H A Dtsc_timer.c344 return get_tbclk() / 1000000; in get_tbclk_mhz()
349 return (get_ticks() * 1000) / get_tbclk(); in get_ms_timer()
/openbmc/u-boot/arch/xtensa/lib/
H A Dtime.c104 ulong get_tbclk(void) in get_tbclk() function
/openbmc/u-boot/arch/powerpc/cpu/mpc83xx/
H A Dspl_minimal.c82 unsigned long get_tbclk(void) in get_tbclk() function
/openbmc/u-boot/arch/arm/mach-zynq/
H A Dtimer.c106 ulong get_tbclk(void) in get_tbclk() function
/openbmc/u-boot/arch/arm/cpu/armv7/vf610/
H A Dtimer.c81 ulong get_tbclk(void) in get_tbclk() function
/openbmc/u-boot/arch/arm/mach-rmobile/
H A Dtimer.c81 ulong get_tbclk(void) in get_tbclk() function
/openbmc/u-boot/board/armltd/integrator/
H A Dtimer.c155 ulong get_tbclk (void) in get_tbclk() function

123