Home
last modified time | relevance | path

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

123

/external/u-boot/arch/arm/cpu/armv8/
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()
/external/u-boot/arch/powerpc/lib/
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()
/external/u-boot/lib/
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()
/external/u-boot/arch/arm/cpu/armv7/ls102xa/
Dtimer.c24 ticks = ((usec * (get_tbclk()/1000)) + 500) / 1000; in usec2ticks()
26 ticks = ((usec / 10) * (get_tbclk() / 100000)); in usec2ticks()
120 unsigned long get_tbclk(void) in get_tbclk() function
/external/u-boot/arch/arm/mach-imx/
Dsyscounter.c27 ticks = ((usec * (get_tbclk()/1000)) + 500) / 1000; in usec2ticks()
29 ticks = ((usec / 10) * (get_tbclk() / 100000)); in usec2ticks()
118 ulong get_tbclk(void) in get_tbclk() function
Dtimer.c116 ulong get_tbclk(void) in get_tbclk() function
130 usec *= get_tbclk(); in usec2ticks()
/external/u-boot/arch/powerpc/cpu/mpc86xx/
Dinterrupts.c44 *decrementer_count = get_tbclk() / CONFIG_SYS_HZ; in interrupt_init_cpu()
46 (get_tbclk() / 1000000), in interrupt_init_cpu()
/external/u-boot/arch/mips/cpu/
Dtime.c15 ulong notrace get_tbclk(void) in get_tbclk() function
/external/u-boot/drivers/timer/
Dtsc_timer.c293 return get_tbclk() / 1000000; in get_tbclk_mhz()
298 return (get_ticks() * 1000) / get_tbclk(); in get_ms_timer()
/external/u-boot/arch/arm/cpu/armv8/zynqmp/
Dclk.c37 gd->cpu_clk = get_tbclk(); in set_cpu_clk_info()
/external/u-boot/arch/arm/mach-at91/armv7/
Dtimer.c58 ulong get_tbclk(void) in get_tbclk() function
/external/u-boot/arch/powerpc/cpu/mpc8xx/
Dfdt.c17 "timebase-frequency", get_tbclk(), 1); in ft_cpu_setup()
/external/u-boot/arch/arm/mach-at91/arm926ejs/
Dtimer.c54 ulong get_tbclk(void) in get_tbclk() function
/external/u-boot/include/
Dcli.h154 #define endtick(seconds) (get_ticks() + (uint64_t)(seconds) * get_tbclk())
/external/u-boot/arch/arm/cpu/sa1100/
Dtimer.c66 ulong get_tbclk (void) in get_tbclk() function
/external/u-boot/arch/sh/lib/
Dtime.c22 unsigned long get_tbclk(void) in get_tbclk() function
Dtime_sh2.c84 unsigned long get_tbclk(void) in get_tbclk() function
/external/u-boot/arch/arm/cpu/armv7/
Darch_timer.c55 ulong get_tbclk(void) in get_tbclk() function
/external/u-boot/arch/arm/cpu/arm920t/imx/
Dtimer.c78 ulong get_tbclk (void) in get_tbclk() function
/external/u-boot/arch/xtensa/lib/
Dtime.c104 ulong get_tbclk(void) in get_tbclk() function
/external/u-boot/arch/arm/mach-zynq/
Dtimer.c106 ulong get_tbclk(void) in get_tbclk() function
/external/u-boot/arch/powerpc/cpu/mpc83xx/
Dspl_minimal.c82 unsigned long get_tbclk(void) in get_tbclk() function
/external/u-boot/arch/arm/mach-rmobile/
Dtimer.c81 ulong get_tbclk(void) in get_tbclk() function
/external/u-boot/arch/arm/cpu/armv7/vf610/
Dtimer.c86 ulong get_tbclk(void) in get_tbclk() function
/external/u-boot/arch/arm/cpu/armv7/s5p-common/
Dtimer.c131 unsigned long get_tbclk(void) in get_tbclk() function

123