/external/u-boot/lib/ |
D | time.c | 77 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/ |
D | ticks.S | 19 .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/ |
D | timer.c | 48 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/ |
D | timer.c | 81 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/ |
D | syscounter.c | 80 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/ |
D | timer.c | 55 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/ |
D | timer.c | 110 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/ |
D | fsl_i2c.c | 229 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/ |
D | tsc_timer.c | 298 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/ |
D | ath79_spi.c | 99 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/ |
D | arch_timer.c | 37 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/ |
D | generic_timer.c | 88 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/ |
D | timer.c | 57 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/ |
D | systick-timer.c | 93 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/ |
D | srio.c | 101 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/ |
D | timer.c | 80 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/ |
D | pic32_eth.c | 199 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/ |
D | bootretry.c | 47 if (retry_time >= 0 && get_ticks() > endtime) in bootretry_tstc_timeout()
|
D | autoboot.c | 98 } while (!abort && get_ticks() <= etime); in passwd_abort() 175 } while (!abort && get_ticks() <= etime); in passwd_abort()
|
/external/u-boot/include/ |
D | cli.h | 154 #define endtick(seconds) (get_ticks() + (uint64_t)(seconds) * get_tbclk())
|
/external/u-boot/arch/arm/cpu/sa1100/ |
D | timer.c | 57 unsigned long long get_ticks(void) in get_ticks() function
|
/external/u-boot/arch/arm/cpu/arm920t/imx/ |
D | timer.c | 69 unsigned long long get_ticks(void) in get_ticks() function
|
/external/u-boot/arch/sh/lib/ |
D | time_sh2.c | 46 unsigned long long get_ticks(void) in get_ticks() function
|
/external/u-boot/arch/xtensa/lib/ |
D | time.c | 95 unsigned long long get_ticks(void) in get_ticks() function
|
/external/u-boot/arch/arm/mach-rmobile/ |
D | timer.c | 76 unsigned long long get_ticks(void) in get_ticks() function
|