| /OK3568_Linux_fs/u-boot/lib/ |
| H A D | time.c | 78 uint64_t notrace get_ticks(void) in get_ticks() function 104 uint64_t __weak notrace get_ticks(void) in get_ticks() function 135 return tick_to_time(get_ticks()) - base; in get_timer() 140 return tick_to_time(get_ticks() * 1000); in timer_get_us() 155 tmp = get_ticks() + usec_to_tick(usec); /* get current timestamp */ in __udelay() 157 while (get_ticks() < tmp+1) /* loop till event */ in __udelay()
|
| H A D | initcall.c | 18 static inline void call_get_ticks(ulong *ticks) { *ticks = get_ticks(); } in call_get_ticks() 29 gd->sys_start_tick = get_ticks(); in initcall_run_list()
|
| H A D | time.su | |
| /OK3568_Linux_fs/u-boot/arch/powerpc/lib/ |
| H A D | ticks.S | 20 .globl get_ticks symbol 21 get_ticks: label 40 bl get_ticks /* Get start time */ 47 1: bl get_ticks /* Get current time */
|
| /OK3568_Linux_fs/u-boot/test/rockchip/ |
| H A D | test-misc.c | 73 start = get_ticks(); in timer_delay_test() 75 delta = (get_ticks() - start) / 24UL; in timer_delay_test() 78 start = get_ticks(); in timer_delay_test() 80 delta = (get_ticks() - start) / 24000UL; in timer_delay_test() 83 start = get_ticks(); in timer_delay_test() 85 delta = (get_ticks() - start) / 24000UL; in timer_delay_test()
|
| /OK3568_Linux_fs/u-boot/arch/arm/cpu/armv7/vf610/ |
| H A D | timer.c | 49 unsigned long long get_ticks(void) in get_ticks() function 63 return tick_to_time(get_ticks()); in get_timer_masked() 77 start = get_ticks(); /* get current timestamp */ in __udelay() 79 while ((get_ticks() - start) < tmo) in __udelay()
|
| /OK3568_Linux_fs/u-boot/arch/arm/cpu/armv7/ls102xa/ |
| H A D | timer.c | 82 unsigned long long get_ticks(void) in get_ticks() function 96 return tick_to_time(get_ticks()); in get_timer_masked() 110 start = get_ticks(); /* get current timestamp */ in __udelay() 113 while ((get_ticks() - start) < tmo) in __udelay()
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-imx/ |
| H A D | syscounter.c | 81 unsigned long long get_ticks(void) in get_ticks() function 95 return tick_to_time(get_ticks()); in get_timer_masked() 109 tmp = get_ticks() + tmo; /* get current timestamp */ in __udelay() 111 while (get_ticks() < tmp) /* loop till event */ in __udelay()
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-davinci/ |
| H A D | timer.c | 56 unsigned long long get_ticks(void) in get_ticks() function 72 timer_diff = get_ticks() - gd->arch.timer_reset_value; in get_timer() 84 endtime += get_ticks(); in __udelay() 86 while (get_ticks() < endtime) in __udelay()
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-stm32/stm32f4/ |
| H A D | timer.c | 73 return (get_ticks() / (CONFIG_SYS_HZ_CLOCK / CONFIG_SYS_HZ)) - base; in get_timer() 76 unsigned long long get_ticks(void) in get_ticks() function 106 start = get_ticks(); /* get current timestamp */ in __udelay() 107 while ((get_ticks() - start) < usec) in __udelay()
|
| /OK3568_Linux_fs/u-boot/arch/arm/cpu/arm926ejs/mx27/ |
| H A D | timer.c | 111 unsigned long long get_ticks(void) in get_ticks() function 138 return tick_to_time(get_ticks()); in get_timer_masked() 153 tmp = get_ticks() + tmo; /* get current timestamp */ in __udelay() 155 while (get_ticks() < tmp) /* loop till event */ in __udelay()
|
| /OK3568_Linux_fs/u-boot/drivers/i2c/ |
| H A D | fsl_i2c.c | 225 timeval = get_ticks(); in fsl_i2c_fixup() 227 if ((get_ticks() - timeval) > timeout) in fsl_i2c_fixup() 241 timeval = get_ticks(); in fsl_i2c_fixup() 243 if ((get_ticks() - timeval) > timeout) in fsl_i2c_fixup() 276 timeval = get_ticks(); in __i2c_init() 278 if ((get_ticks() - timeval) < timeout) in __i2c_init() 292 unsigned long long timeval = get_ticks(); in i2c_wait4bus() 296 if ((get_ticks() - timeval) > timeout) in i2c_wait4bus() 307 unsigned long long timeval = get_ticks(); in i2c_wait() 335 } while ((get_ticks() - timeval) < timeout); in i2c_wait()
|
| /OK3568_Linux_fs/u-boot/drivers/timer/ |
| H A D | tsc_timer.c | 285 return (get_ticks() * 1000) / get_tbclk(); in get_ms_timer() 295 return get_ticks() / get_tbclk_mhz(); in timer_get_us() 305 u64 now = get_ticks(); in __udelay() 310 while ((int64_t)(stop - get_ticks()) > 0) in __udelay()
|
| /OK3568_Linux_fs/u-boot/drivers/spi/ |
| H A D | ath79_spi.c | 100 tick = get_ticks() + priv->rrw_delay; in ath79_spi_xfer() 101 while (get_ticks() < tick) in ath79_spi_xfer() 110 tick = get_ticks() + priv->rrw_delay; in ath79_spi_xfer() 111 while (get_ticks() < tick) in ath79_spi_xfer()
|
| /OK3568_Linux_fs/u-boot/drivers/net/ |
| H A D | enc28j60.c | 312 etime = get_ticks() + get_tbclk(); in enc_phy_read() 317 } while (get_ticks() <= etime && (status & ENC_MISTAT_BUSY)); in enc_phy_read() 337 etime = get_ticks() + get_tbclk(); in enc_phy_write() 342 } while (get_ticks() <= etime && (status & ENC_MISTAT_BUSY)); in enc_phy_write() 370 etime = get_ticks() + get_tbclk(); in enc_phy_link_wait() 371 while (get_ticks() <= etime) { in enc_phy_link_wait() 612 etime = get_ticks() + get_tbclk(); in enc_clock_wait() 622 } while (get_ticks() <= etime); in enc_clock_wait()
|
| H A D | pic32_eth.c | 200 expire = get_ticks() + get_tbclk() * 2; in pic32_mac_init() 201 for (; get_ticks() < expire;) { in pic32_mac_init() 419 deadline = get_ticks() + get_tbclk(); in pic32_eth_send() 422 if (get_ticks() > deadline) in pic32_eth_send()
|
| /OK3568_Linux_fs/u-boot/arch/arm/cpu/armv7/ |
| H A D | arch_timer.c | 24 unsigned long long get_ticks(void) in get_ticks() function 39 return lldiv(get_ticks(), CONFIG_SYS_HZ_CLOCK / 1000000); in timer_get_boot_us()
|
| /OK3568_Linux_fs/u-boot/arch/arm/cpu/arm920t/ep93xx/ |
| H A D | timer.c | 58 unsigned long long get_ticks(void) in get_ticks() function 72 return get_ticks(); in get_timer_masked()
|
| /OK3568_Linux_fs/u-boot/arch/powerpc/cpu/mpc8xxx/ |
| H A D | srio.c | 102 end_tick = usec2ticks(2000) + get_ticks(); in srio_erratum_a004034() 115 } while (end_tick > get_ticks()); in srio_erratum_a004034() 212 end_tick = usec2ticks(1000000) + get_ticks(); in srio_erratum_a004034() 223 } while (end_tick > get_ticks()); in srio_erratum_a004034()
|
| /OK3568_Linux_fs/u-boot/arch/arm/cpu/armv7m/ |
| H A D | systick-timer.c | 94 unsigned long long t = get_ticks() * 1000; in get_timer() 99 unsigned long long get_ticks(void) in get_ticks() function
|
| /OK3568_Linux_fs/u-boot/arch/arm/cpu/arm926ejs/mxs/ |
| H A D | timer.c | 81 unsigned long long get_ticks(void) in get_ticks() function 116 return tick_to_time(get_ticks()); in get_timer_masked()
|
| /OK3568_Linux_fs/u-boot/spl/lib/ |
| H A D | time.su | |
| /OK3568_Linux_fs/u-boot/common/ |
| H A D | bootretry.c | 48 if (retry_time >= 0 && get_ticks() > endtime) in bootretry_tstc_timeout()
|
| H A D | autoboot.c | 98 } while (!abort && get_ticks() <= etime); in passwd_abort() 175 } while (!abort && get_ticks() <= etime); in passwd_abort()
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | cli.h | 155 #define endtick(seconds) (get_ticks() + (uint64_t)(seconds) * get_tbclk())
|