Home
last modified time | relevance | path

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

12

/external/u-boot/lib/
Dtime.c77 uint64_t notrace get_ticks(void) in get_ticks() function
103 uint64_t __weak notrace get_ticks(void) in get_ticks() function
134 return tick_to_time(get_ticks()) - base; in get_timer()
139 return tick_to_time(get_ticks() * 1000); in timer_get_us()
154 tmp = get_ticks() + usec_to_tick(usec); /* get current timestamp */ in __udelay()
156 while (get_ticks() < tmp+1) /* loop till event */ in __udelay()
/external/u-boot/arch/powerpc/lib/
Dticks.S19 .globl get_ticks symbol
20 get_ticks: label
39 bl get_ticks /* Get start time */
46 1: bl get_ticks /* Get current time */
/external/u-boot/arch/arm/cpu/armv7/vf610/
Dtimer.c48 unsigned long long get_ticks(void) in get_ticks() function
62 return tick_to_time(get_ticks()); in get_timer_masked()
76 start = get_ticks(); /* get current timestamp */ in __udelay()
78 while ((get_ticks() - start) < tmo) in __udelay()
/external/u-boot/arch/arm/cpu/armv7/ls102xa/
Dtimer.c81 unsigned long long get_ticks(void) in get_ticks() function
95 return tick_to_time(get_ticks()); in get_timer_masked()
109 start = get_ticks(); /* get current timestamp */ in __udelay()
112 while ((get_ticks() - start) < tmo) in __udelay()
/external/u-boot/arch/arm/mach-imx/
Dsyscounter.c80 unsigned long long get_ticks(void) in get_ticks() function
94 return tick_to_time(get_ticks()); in get_timer_masked()
108 tmp = get_ticks() + tmo; /* get current timestamp */ in __udelay()
110 while (get_ticks() < tmp) /* loop till event */ in __udelay()
/external/u-boot/arch/arm/mach-davinci/
Dtimer.c55 unsigned long long get_ticks(void) in get_ticks() function
71 timer_diff = get_ticks() - gd->arch.timer_reset_value; in get_timer()
83 endtime += get_ticks(); in __udelay()
85 while (get_ticks() < endtime) in __udelay()
/external/u-boot/arch/arm/cpu/arm926ejs/mx27/
Dtimer.c110 unsigned long long get_ticks(void) in get_ticks() function
137 return tick_to_time(get_ticks()); in get_timer_masked()
152 tmp = get_ticks() + tmo; /* get current timestamp */ in __udelay()
154 while (get_ticks() < tmp) /* loop till event */ in __udelay()
/external/u-boot/drivers/i2c/
Dfsl_i2c.c229 timeval = get_ticks(); in fsl_i2c_fixup()
231 if ((get_ticks() - timeval) > timeout) in fsl_i2c_fixup()
245 timeval = get_ticks(); in fsl_i2c_fixup()
247 if ((get_ticks() - timeval) > timeout) in fsl_i2c_fixup()
280 timeval = get_ticks(); in __i2c_init()
282 if ((get_ticks() - timeval) < timeout) in __i2c_init()
295 unsigned long long timeval = get_ticks(); in i2c_wait4bus()
299 if ((get_ticks() - timeval) > timeout) in i2c_wait4bus()
309 unsigned long long timeval = get_ticks(); in i2c_wait()
337 } while ((get_ticks() - timeval) < timeout); in i2c_wait()
/external/u-boot/drivers/timer/
Dtsc_timer.c298 return (get_ticks() * 1000) / get_tbclk(); in get_ms_timer()
308 return get_ticks() / get_tbclk_mhz(); in timer_get_us()
318 u64 now = get_ticks(); in __udelay()
323 while ((int64_t)(stop - get_ticks()) > 0) in __udelay()
/external/u-boot/drivers/spi/
Dath79_spi.c99 tick = get_ticks() + priv->rrw_delay; in ath79_spi_xfer()
100 while (get_ticks() < tick) in ath79_spi_xfer()
109 tick = get_ticks() + priv->rrw_delay; in ath79_spi_xfer()
110 while (get_ticks() < tick) in ath79_spi_xfer()
/external/u-boot/arch/arm/cpu/armv7/
Darch_timer.c37 unsigned long long get_ticks(void) in get_ticks() function
52 return lldiv(get_ticks(), gd->arch.timer_rate_hz / 1000000); in timer_get_boot_us()
/external/u-boot/arch/arm/cpu/armv8/
Dgeneric_timer.c88 uint64_t get_ticks(void) in get_ticks() function
110 u64 val = get_ticks() * 1000000; in timer_get_boot_us()
/external/u-boot/arch/arm/cpu/arm920t/ep93xx/
Dtimer.c57 unsigned long long get_ticks(void) in get_ticks() function
71 return get_ticks(); in get_timer_masked()
/external/u-boot/arch/arm/cpu/armv7m/
Dsystick-timer.c93 unsigned long long t = get_ticks() * 1000; in get_timer()
98 unsigned long long get_ticks(void) in get_ticks() function
/external/u-boot/arch/powerpc/cpu/mpc8xxx/
Dsrio.c101 end_tick = usec2ticks(2000) + get_ticks(); in srio_erratum_a004034()
114 } while (end_tick > get_ticks()); in srio_erratum_a004034()
211 end_tick = usec2ticks(1000000) + get_ticks(); in srio_erratum_a004034()
222 } while (end_tick > get_ticks()); in srio_erratum_a004034()
/external/u-boot/arch/arm/cpu/arm926ejs/mxs/
Dtimer.c80 unsigned long long get_ticks(void) in get_ticks() function
115 return tick_to_time(get_ticks()); in get_timer_masked()
/external/u-boot/drivers/net/
Dpic32_eth.c199 expire = get_ticks() + get_tbclk() * 2; in pic32_mac_init()
200 for (; get_ticks() < expire;) { in pic32_mac_init()
418 deadline = get_ticks() + get_tbclk(); in pic32_eth_send()
421 if (get_ticks() > deadline) in pic32_eth_send()
/external/u-boot/common/
Dbootretry.c47 if (retry_time >= 0 && get_ticks() > endtime) in bootretry_tstc_timeout()
Dautoboot.c98 } while (!abort && get_ticks() <= etime); in passwd_abort()
175 } while (!abort && get_ticks() <= etime); in passwd_abort()
/external/u-boot/include/
Dcli.h154 #define endtick(seconds) (get_ticks() + (uint64_t)(seconds) * get_tbclk())
/external/u-boot/arch/arm/cpu/sa1100/
Dtimer.c57 unsigned long long get_ticks(void) in get_ticks() function
/external/u-boot/arch/arm/cpu/arm920t/imx/
Dtimer.c69 unsigned long long get_ticks(void) in get_ticks() function
/external/u-boot/arch/sh/lib/
Dtime_sh2.c46 unsigned long long get_ticks(void) in get_ticks() function
/external/u-boot/arch/xtensa/lib/
Dtime.c95 unsigned long long get_ticks(void) in get_ticks() function
/external/u-boot/arch/arm/mach-rmobile/
Dtimer.c76 unsigned long long get_ticks(void) in get_ticks() function

12