| /u-boot/lib/ |
| A D | time.c | 86 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 D | syscounter.c | 87 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 D | ticks.S | 18 .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 D | timer.c | 85 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 D | timer.c | 52 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 D | timer.c | 59 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 D | generic_timer.c | 92 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 D | arch_timer.c | 40 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 D | fsl_i2c.c | 239 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 D | ath79_spi.c | 101 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 D | timer.h | 11 uint64_t get_ticks(void);
|
| /u-boot/arch/arm/cpu/armv7m/ |
| A D | systick-timer.c | 97 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 D | tsc_timer.c | 353 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 D | mpc83xx_timer.c | 189 ulong end = get_ticks() + ticks; in wait_ticks() 191 while (end > get_ticks()) in wait_ticks()
|
| /u-boot/arch/arm/cpu/arm926ejs/mxs/ |
| A D | timer.c | 84 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 D | board.c | 162 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 D | time.c | 118 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 D | bootretry.c | 45 if (retry_time >= 0 && get_ticks() > endtime) in bootretry_tstc_timeout()
|
| /u-boot/arch/powerpc/cpu/mpc8xxx/ |
| A D | srio.c | 104 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 D | cli.h | 173 #define endtick(seconds) (get_ticks() + (uint64_t)(seconds) * get_tbclk())
|
| /u-boot/arch/sh/lib/ |
| A D | time_sh2.c | 49 unsigned long long get_ticks(void) in get_ticks() function
|
| /u-boot/board/xilinx/versal/ |
| A D | board.c | 91 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 D | mux-cmd.c | 129 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 D | time.c | 98 unsigned long long get_ticks(void) in get_ticks() function
|
| /u-boot/common/ |
| A D | autoboot.c | 123 } 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()
|