/openbmc/u-boot/lib/ |
H A 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()
|
/openbmc/u-boot/arch/powerpc/lib/ |
H A D | ticks.S | 19 .globl get_ticks 20 get_ticks: label 39 bl get_ticks /* Get start time */ 46 1: bl get_ticks /* Get current time */
|
/openbmc/u-boot/arch/arm/cpu/armv7/vf610/ |
H A D | timer.c | 48 unsigned long long get_ticks(void) in get_ticks() function 62 return tick_to_time(get_ticks()) - base; in get_timer() 71 start = get_ticks(); /* get current timestamp */ in __udelay() 73 while ((get_ticks() - start) < tmo) in __udelay()
|
/openbmc/u-boot/arch/arm/cpu/armv7/ls102xa/ |
H A D | timer.c | 81 unsigned long long get_ticks(void) in get_ticks() function 95 return tick_to_time(get_ticks()) - base; in get_timer() 104 start = get_ticks(); /* get current timestamp */ in __udelay() 107 while ((get_ticks() - start) < tmo) in __udelay()
|
/openbmc/u-boot/arch/arm/mach-imx/ |
H A D | syscounter.c | 82 unsigned long long get_ticks(void) in get_ticks() function 96 return tick_to_time(get_ticks()) - base; in get_timer() 105 tmp = get_ticks() + tmo; /* get current timestamp */ in __udelay() 107 while (get_ticks() < tmp) /* loop till event */ in __udelay()
|
/openbmc/u-boot/arch/arm/mach-davinci/ |
H A 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()
|
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mx27/ |
H A 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()
|
/openbmc/u-boot/drivers/i2c/ |
H A 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()
|
/openbmc/u-boot/drivers/spi/ |
H A 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()
|
/openbmc/u-boot/drivers/timer/ |
H A D | tsc_timer.c | 349 return (get_ticks() * 1000) / get_tbclk(); in get_ms_timer() 359 return get_ticks() / get_tbclk_mhz(); in timer_get_us() 369 u64 now = get_ticks(); in __udelay() 374 while ((int64_t)(stop - get_ticks()) > 0) in __udelay()
|
H A D | mpc83xx_timer.c | 182 ulong end = get_ticks() + ticks; in wait_ticks() 184 while (end > get_ticks()) in wait_ticks()
|
/openbmc/u-boot/arch/arm/cpu/armv7/ |
H A 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()
|
/openbmc/u-boot/arch/arm/cpu/armv8/ |
H A 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()
|
/openbmc/u-boot/board/xilinx/versal/ |
H A D | board.c | 62 debug("timer 0x%llx\n", get_ticks()); in board_early_init_r() 63 debug("timer 0x%llx\n", get_ticks()); in board_early_init_r()
|
/openbmc/u-boot/arch/arm/cpu/arm920t/ep93xx/ |
H A D | timer.c | 57 unsigned long long get_ticks(void) in get_ticks() function 71 return get_ticks() - base; in get_timer()
|
/openbmc/u-boot/arch/arm/cpu/armv7m/ |
H A 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
|
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mxs/ |
H A D | timer.c | 80 unsigned long long get_ticks(void) in get_ticks() function 115 return tick_to_time(get_ticks()) - base; in get_timer()
|
/openbmc/u-boot/arch/powerpc/cpu/mpc8xxx/ |
H A 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()
|
/openbmc/u-boot/arch/arm/mach-bcmstb/include/mach/ |
H A D | timer.h | 11 uint64_t get_ticks(void);
|
/openbmc/u-boot/common/ |
H A D | bootretry.c | 47 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()
|
/openbmc/u-boot/include/ |
H A D | cli.h | 154 #define endtick(seconds) (get_ticks() + (uint64_t)(seconds) * get_tbclk())
|
/openbmc/u-boot/arch/arm/cpu/sa1100/ |
H A D | timer.c | 52 unsigned long long get_ticks(void) in get_ticks() function
|
/openbmc/u-boot/drivers/net/ |
H A 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()
|
/openbmc/u-boot/arch/arm/cpu/arm920t/imx/ |
H A D | timer.c | 64 unsigned long long get_ticks(void) in get_ticks() function
|