Home
last modified time | relevance | path

Searched refs:timer_get_us (Results 1 – 25 of 39) sorted by relevance

12

/u-boot/test/
A Dtime_ut.c54 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 Dp2wi.c47 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 Ddram_helpers.c19 unsigned long tmo = timer_get_us() + 1000000; in mctl_await_completion()
22 if (timer_get_us() > tmo) in mctl_await_completion()
A Drsb.c79 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 Demul_rtc.c34 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 Dtime.h17 unsigned long timer_get_us(void);
117 unsigned long timer_get_us(void);
/u-boot/drivers/misc/
A Dtegra186_bpmp.c67 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 Dtimer.h12 unsigned long timer_get_us(void);
/u-boot/include/linux/
A Diopoll.h31 unsigned long timeout = timer_get_us() + timeout_us; \
36 if (timeout_us && time_after(timer_get_us(), timeout)) { \
/u-boot/lib/
A Dtime.c164 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 Dmailbox-uclass.c134 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 Dcr50_i2c.c72 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 Dtime.c112 unsigned long timer_get_us(void) in timer_get_us() function
/u-boot/arch/arm/cpu/armv7/s5p-common/
A Dtimer.c89 unsigned long __attribute__((no_instrument_function)) timer_get_us(void) in timer_get_us() function
/u-boot/drivers/mmc/
A Dbcm2835_sdhci.c85 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 Dstpmic1.c171 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 Dtegra114_spi.c135 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 Dtegra20_sflash.c125 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 Dtegra20_slink.c131 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 Dexynos_spi.c224 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 Dtegra210_qspi.c135 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 Drk_spi.c145 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 Dtsc_timer.c361 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 Dpcap.c102 u64 cur_time = timer_get_us(); in pcap_post()
/u-boot/drivers/sound/
A Dbroadwell_i2s.c213 ulong start = timer_get_us() + 100000; in broadwell_i2s_tx_data()
220 if ((long)(timer_get_us() - start) > 0) { in broadwell_i2s_tx_data()

Completed in 22 milliseconds

12