Home
last modified time | relevance | path

Searched refs:get_ticks (Results 1 – 25 of 50) sorted by relevance

12

/u-boot/lib/
A Dtime.c86 uint64_t notrace get_ticks(void) in get_ticks() function
116 uint64_t __weak notrace get_ticks(void) in get_ticks() function
147 return tick_to_time(get_ticks()) - base; in get_timer()
161 return tick_to_time_us(get_ticks()) - base; in get_timer_us()
171 return tick_to_time(get_ticks() * 1000); in timer_get_us()
186 tmp = get_ticks() + usec_to_tick(usec); /* get current timestamp */ in __udelay()
188 while (get_ticks() < tmp+1) /* loop till event */ in __udelay()
/u-boot/arch/arm/mach-imx/
A Dsyscounter.c87 unsigned long long get_ticks(void) in get_ticks() function
101 return tick_to_time(get_ticks()) - base; in get_timer()
109 return tick_to_time(get_ticks()); in timer_get_boot_us()
118 tmp = get_ticks() + tmo; /* get current timestamp */ in __udelay()
120 while (get_ticks() < tmp) /* loop till event */ in __udelay()
/u-boot/arch/powerpc/lib/
A Dticks.S18 .globl get_ticks
19 get_ticks: label
38 bl get_ticks /* Get start time */
47 1: bl get_ticks /* Get current time */
/u-boot/arch/arm/cpu/armv7/ls102xa/
A Dtimer.c85 unsigned long long get_ticks(void) in get_ticks() function
99 return tick_to_time(get_ticks()) - base; in get_timer()
108 start = get_ticks(); /* get current timestamp */ in __udelay()
111 while ((get_ticks() - start) < tmo) in __udelay()
/u-boot/arch/arm/cpu/armv7/vf610/
A Dtimer.c52 unsigned long long get_ticks(void) in get_ticks() function
66 return tick_to_time(get_ticks()) - base; in get_timer()
75 start = get_ticks(); /* get current timestamp */ in __udelay()
77 while ((get_ticks() - start) < tmo) in __udelay()
/u-boot/arch/arm/mach-davinci/
A Dtimer.c59 unsigned long long get_ticks(void) in get_ticks() function
75 timer_diff = get_ticks() - gd->arch.timer_reset_value; in get_timer()
87 endtime += get_ticks(); in __udelay()
89 while (get_ticks() < endtime) in __udelay()
/u-boot/arch/arm/cpu/armv8/
A Dgeneric_timer.c92 uint64_t notrace get_ticks(void) in get_ticks() function
114 u64 val = get_ticks() * 1000000; in timer_get_boot_us()
/u-boot/arch/arm/cpu/armv7/
A Darch_timer.c40 unsigned long long get_ticks(void) in get_ticks() function
58 return lldiv(get_ticks(), gd->arch.timer_rate_hz / 1000000); in timer_get_boot_us()
/u-boot/drivers/i2c/
A Dfsl_i2c.c239 timeval = get_ticks(); in fsl_i2c_fixup()
241 if ((get_ticks() - timeval) > timeout) in fsl_i2c_fixup()
255 timeval = get_ticks(); in fsl_i2c_fixup()
257 if ((get_ticks() - timeval) > timeout) in fsl_i2c_fixup()
284 timeval = get_ticks(); in __i2c_init()
286 if ((get_ticks() - timeval) < timeout) in __i2c_init()
299 unsigned long long timeval = get_ticks(); in i2c_wait4bus()
303 if ((get_ticks() - timeval) > timeout) in i2c_wait4bus()
313 unsigned long long timeval = get_ticks(); in i2c_wait()
341 } while ((get_ticks() - timeval) < timeout); in i2c_wait()
/u-boot/drivers/spi/
A Dath79_spi.c101 tick = get_ticks() + priv->rrw_delay; in ath79_spi_xfer()
102 while (get_ticks() < tick) in ath79_spi_xfer()
111 tick = get_ticks() + priv->rrw_delay; in ath79_spi_xfer()
112 while (get_ticks() < tick) in ath79_spi_xfer()
/u-boot/arch/arm/mach-bcmstb/include/mach/
A Dtimer.h11 uint64_t get_ticks(void);
/u-boot/arch/arm/cpu/armv7m/
A Dsystick-timer.c97 unsigned long long t = get_ticks() * 1000; in get_timer()
102 unsigned long long get_ticks(void) in get_ticks() function
/u-boot/drivers/timer/
A Dtsc_timer.c353 return (get_ticks() * 1000) / get_tbclk(); in get_ms_timer()
363 return get_ticks() / get_tbclk_mhz(); in timer_get_us()
373 u64 now = get_ticks(); in __udelay()
378 while ((int64_t)(stop - get_ticks()) > 0) in __udelay()
A Dmpc83xx_timer.c189 ulong end = get_ticks() + ticks; in wait_ticks()
191 while (end > get_ticks()) in wait_ticks()
/u-boot/arch/arm/cpu/arm926ejs/mxs/
A Dtimer.c84 unsigned long long get_ticks(void) in get_ticks() function
119 return tick_to_time(get_ticks()) - base; in get_timer()
/u-boot/board/xilinx/versal-net/
A Dboard.c162 debug("timer 0x%llx\n", get_ticks()); in board_early_init_r()
163 debug("timer 0x%llx\n", get_ticks()); in board_early_init_r()
/u-boot/arch/m68k/lib/
A Dtime.c118 unsigned long long get_ticks(void) in get_ticks() function
126 uint64_t __weak get_ticks(void) in get_ticks() function
/u-boot/boot/
A Dbootretry.c45 if (retry_time >= 0 && get_ticks() > endtime) in bootretry_tstc_timeout()
/u-boot/arch/powerpc/cpu/mpc8xxx/
A Dsrio.c104 end_tick = usec2ticks(2000) + get_ticks(); in srio_erratum_a004034()
117 } while (end_tick > get_ticks()); in srio_erratum_a004034()
214 end_tick = usec2ticks(1000000) + get_ticks(); in srio_erratum_a004034()
225 } while (end_tick > get_ticks()); in srio_erratum_a004034()
/u-boot/include/
A Dcli.h173 #define endtick(seconds) (get_ticks() + (uint64_t)(seconds) * get_tbclk())
/u-boot/arch/sh/lib/
A Dtime_sh2.c49 unsigned long long get_ticks(void) in get_ticks() function
/u-boot/board/xilinx/versal/
A Dboard.c91 debug("timer 0x%llx\n", get_ticks()); in board_early_init_r()
92 debug("timer 0x%llx\n", get_ticks()); in board_early_init_r()
/u-boot/test/dm/
A Dmux-cmd.c129 srand(get_ticks() + rand()); in dm_test_cmd_mux_select()
163 srand(get_ticks() + rand()); in dm_test_cmd_mux_deselect()
/u-boot/arch/xtensa/lib/
A Dtime.c98 unsigned long long get_ticks(void) in get_ticks() function
/u-boot/common/
A Dautoboot.c123 } while (never_timeout || get_ticks() <= etime); in passwd_abort_crypt()
215 } while (!abort && get_ticks() <= etime); in passwd_abort_sha256()
303 } while (!abort && get_ticks() <= etime); in passwd_abort_key()

Completed in 38 milliseconds

12