/u-boot/test/ |
A D | time_ut.c | 54 prev = timer_get_us(); in test_timer_get_us() 56 next = timer_get_us(); in test_timer_get_us() 88 start_us = timer_get_us(); in test_time_comparison() 91 end_us = timer_get_us(); in test_time_comparison()
|
/u-boot/arch/arm/mach-sunxi/ |
A D | p2wi.c | 47 unsigned long tmo = timer_get_us() + 1000000; in p2wi_change_to_p2wi_mode() 56 if (timer_get_us() > tmo) in p2wi_change_to_p2wi_mode() 66 unsigned long tmo = timer_get_us() + 1000000; in p2wi_await_trans() 80 if (timer_get_us() > tmo) { in p2wi_await_trans()
|
A D | dram_helpers.c | 19 unsigned long tmo = timer_get_us() + 1000000; in mctl_await_completion() 22 if (timer_get_us() > tmo) in mctl_await_completion()
|
A D | rsb.c | 79 unsigned long tmo = timer_get_us() + 1000000; in rsb_await_trans() 97 if (timer_get_us() > tmo) { in rsb_await_trans() 111 unsigned long tmo = timer_get_us() + 1000000; in rsb_set_device_mode() 117 if (timer_get_us() > tmo) in rsb_set_device_mode()
|
/u-boot/drivers/rtc/ |
A D | emul_rtc.c | 34 now = timer_get_us() + priv->offset_us; in emul_rtc_get() 49 priv->offset_us = rtc_mktime(time) * 1000000ULL - timer_get_us(); in emul_rtc_set() 75 priv->offset_us = epoch * 1000000ULL - timer_get_us(); in emul_rtc_probe()
|
/u-boot/include/ |
A D | time.h | 17 unsigned long timer_get_us(void); 117 unsigned long timer_get_us(void);
|
/u-boot/drivers/misc/ |
A D | tegra186_bpmp.c | 67 start_time = timer_get_us(); in tegra186_bpmp_call() 80 if ((timer_get_us() - start_time) > 20 * 1000) { in tegra186_bpmp_call() 211 start_time = timer_get_us(); in tegra186_bpmp_probe() 218 if ((timer_get_us() - start_time) > 100 * 1000) { in tegra186_bpmp_probe()
|
/u-boot/arch/arm/include/asm/arch-tegra/ |
A D | timer.h | 12 unsigned long timer_get_us(void);
|
/u-boot/include/linux/ |
A D | iopoll.h | 31 unsigned long timeout = timer_get_us() + timeout_us; \ 36 if (timeout_us && time_after(timer_get_us(), timeout)) { \
|
/u-boot/lib/ |
A D | time.c | 164 return timer_get_us() - base; in get_timer_us_long() 167 unsigned long __weak notrace timer_get_us(void) in timer_get_us() function
|
/u-boot/drivers/mailbox/ |
A D | mailbox-uclass.c | 134 start_time = timer_get_us(); in mbox_recv() 146 if ((timer_get_us() - start_time) >= timeout_us) in mbox_recv()
|
/u-boot/drivers/tpm/ |
A D | cr50_i2c.c | 72 base = timer_get_us(); in cr50_i2c_wait_tpm_ready() 79 if ((int)(timer_get_us() - timeout) >= 0) { in cr50_i2c_wait_tpm_ready() 279 timeout = timer_get_us() + TIMEOUT_LONG_US; in cr50_i2c_wait_burststs() 280 while (timer_get_us() < timeout) { in cr50_i2c_wait_burststs() 390 timeout = timer_get_us() + TIMEOUT_LONG_US; in cr50_i2c_send() 398 if (timer_get_us() > timeout) in cr50_i2c_send()
|
/u-boot/arch/xtensa/lib/ |
A D | time.c | 112 unsigned long timer_get_us(void) in timer_get_us() function
|
/u-boot/arch/arm/cpu/armv7/s5p-common/ |
A D | timer.c | 89 unsigned long __attribute__((no_instrument_function)) timer_get_us(void) in timer_get_us() function
|
/u-boot/drivers/mmc/ |
A D | bcm2835_sdhci.c | 85 while (timer_get_us() - bcm_host->last_write < in bcm2835_sdhci_raw_writel() 91 bcm_host->last_write = timer_get_us(); in bcm2835_sdhci_raw_writel()
|
/u-boot/drivers/power/pmic/ |
A D | stpmic1.c | 171 timeout = timer_get_us() + STPMIC1_NVM_POLL_TIMEOUT; in stpmic1_nvm_rw() 180 if (time_after(timer_get_us(), timeout)) in stpmic1_nvm_rw()
|
/u-boot/drivers/spi/ |
A D | tegra114_spi.c | 135 priv->last_transaction_us = timer_get_us(); in tegra114_spi_probe() 191 delay_us = timer_get_us() - priv->last_transaction_us; in spi_cs_activate() 215 priv->last_transaction_us = timer_get_us(); in spi_cs_deactivate()
|
A D | tegra20_sflash.c | 125 priv->last_transaction_us = timer_get_us(); in tegra20_sflash_probe() 184 delay_us = timer_get_us() - priv->last_transaction_us; in spi_cs_activate() 204 priv->last_transaction_us = timer_get_us(); in spi_cs_deactivate()
|
A D | tegra20_slink.c | 131 priv->last_transaction_us = timer_get_us(); in tegra30_spi_probe() 178 delay_us = timer_get_us() - priv->last_transaction_us; in spi_cs_activate() 198 priv->last_transaction_us = timer_get_us(); in spi_cs_deactivate()
|
A D | exynos_spi.c | 224 delay_us = timer_get_us() - priv->last_transaction_us; in spi_cs_activate() 250 priv->last_transaction_us = timer_get_us(); in spi_cs_deactivate() 295 priv->last_transaction_us = timer_get_us(); in exynos_spi_probe()
|
A D | tegra210_qspi.c | 135 priv->last_transaction_us = timer_get_us(); in tegra210_qspi_probe() 185 delay_us = timer_get_us() - priv->last_transaction_us; in spi_cs_activate() 209 priv->last_transaction_us = timer_get_us(); in spi_cs_deactivate()
|
A D | rk_spi.c | 145 delay_us = timer_get_us() - priv->last_transaction_us; in spi_cs_activate() 173 priv->last_transaction_us = timer_get_us(); in spi_cs_deactivate() 267 priv->last_transaction_us = timer_get_us(); in rockchip_spi_probe()
|
/u-boot/drivers/timer/ |
A D | tsc_timer.c | 361 ulong notrace timer_get_us(void) in timer_get_us() function 368 return timer_get_us(); in timer_get_boot_us()
|
/u-boot/net/ |
A D | pcap.c | 102 u64 cur_time = timer_get_us(); in pcap_post()
|
/u-boot/drivers/sound/ |
A D | broadwell_i2s.c | 213 ulong start = timer_get_us() + 100000; in broadwell_i2s_tx_data() 220 if ((long)(timer_get_us() - start) > 0) { in broadwell_i2s_tx_data()
|