/openbmc/u-boot/drivers/spi/ |
H A D | bcmstb_spi.c | 247 u32 start_time = get_timer(0); in bcmstb_spi_wait() 251 if (get_timer(start_time) > HIF_MSPI_WAIT) in bcmstb_spi_wait()
|
H A D | zynq_qspi.c | 347 timeout = get_timer(0); in zynq_qspi_irq_poll() 351 (get_timer(timeout) < CONFIG_SYS_ZYNQ_QSPI_WAIT)); in zynq_qspi_irq_poll()
|
H A D | mxc_spi.c | 286 ts = get_timer(0); in spi_xchg_single() 290 if (get_timer(ts) > CONFIG_SYS_SPI_MXC_WAIT) { in spi_xchg_single()
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | fsmc_nand.c | 269 start = get_timer(0); in fsmc_read_hwecc() 270 while (get_timer(start) < timeout) { in fsmc_read_hwecc()
|
H A D | sunxi_nand.c | 327 time_start = get_timer(0); in sunxi_nfc_wait_int() 337 } while (get_timer(time_start) < timeout_ticks); in sunxi_nfc_wait_int() 350 time_start = get_timer(0); in sunxi_nfc_wait_cmd_fifo_empty() 354 } while (get_timer(time_start) < timeout); in sunxi_nfc_wait_cmd_fifo_empty() 369 time_start = get_timer(0); in sunxi_nfc_rst() 373 } while (get_timer(time_start) < timeout); in sunxi_nfc_rst()
|
/openbmc/u-boot/common/ |
H A D | xyzModem.c | 66 ulong now = get_timer(0); in CYGACC_COMM_IF_GETC_TIMEOUT() 70 if (get_timer(now) > xyzModem_CHAR_TIMEOUT) in CYGACC_COMM_IF_GETC_TIMEOUT()
|
H A D | command.c | 605 *ticks = get_timer(0); in cmd_process() 608 *ticks = get_timer(*ticks); in cmd_process()
|
/openbmc/u-boot/drivers/net/ |
H A D | dm9000x.c | 426 tmo = get_timer(0) + 5 * CONFIG_SYS_HZ; in dm9000_send() 429 if (get_timer(0) >= tmo) { in dm9000_send()
|
H A D | xilinx_emaclite.c | 154 unsigned long start = get_timer(0); in wait_for_bit() 165 if (get_timer(start) > timeout) in wait_for_bit()
|
/openbmc/u-boot/drivers/misc/ |
H A D | cros_ec_sandbox.c | 502 start = get_timer(0); in cros_ec_check_keyboard() 503 while (get_timer(start) < 1000) in cros_ec_check_keyboard()
|
H A D | cros_ec.c | 333 start = get_timer(0); in ec_command_inptr() 344 if (get_timer(start) > CROS_EC_CMD_TIMEOUT_MS) { in ec_command_inptr() 485 start = get_timer(0); in cros_ec_wait_on_hash_done() 494 if (get_timer(start) > CROS_EC_CMD_HASH_TIMEOUT_MS) { in cros_ec_wait_on_hash_done()
|
/openbmc/u-boot/drivers/mtd/spi/ |
H A D | sf_dataflash.c | 99 timebase = get_timer(0); in dataflash_waitready() 109 } while (get_timer(timebase) < timeout); in dataflash_waitready()
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | ehci-hcd.c | 573 ts = get_timer(0); in ehci_submit_async() 589 } while (get_timer(ts) < timeout); in ehci_submit_async() 1451 timeout = get_timer(0) + 500; /* abort after 500ms */ in _ehci_destroy_int_queue() 1463 if (get_timer(0) > timeout) { in _ehci_destroy_int_queue() 1499 timeout = get_timer(0) + USB_TIMEOUT_MS(pipe); in _ehci_submit_int_msg() 1501 if (get_timer(0) > timeout) { in _ehci_submit_int_msg()
|
H A D | sl811-hcd.c | 218 int err = 0, time_start = get_timer(0); in sl811_send_packet() 248 if (5*CONFIG_SYS_HZ < get_timer(time_start)) { in sl811_send_packet()
|
/openbmc/linux/arch/powerpc/sysdev/ |
H A D | mpic_timer.c | 190 static struct mpic_timer *get_timer(time64_t time) in get_timer() function 369 allocated_timer = get_timer(time); in mpic_request_timer()
|
/openbmc/u-boot/net/ |
H A D | arp.c | 105 t = get_timer(0); in arp_timeout_check()
|
H A D | link_local.c | 20 #define MONOTONIC_MS() ((unsigned)get_timer(0) * (1000 / CONFIG_SYS_HZ))
|
/openbmc/u-boot/arch/arm/mach-uniphier/dram/ |
H A D | umc-pxs2.c | 322 start = get_timer(0); in __ddrphy_training() 350 pr_debug("DDRPHY training: elapsed time %ld msec\n", get_timer(start)); in __ddrphy_training()
|
/openbmc/u-boot/drivers/timer/ |
H A D | tsc_timer.c | 352 ulong get_timer(ulong base) in get_timer() function
|
/openbmc/u-boot/arch/mips/mach-jz47xx/jz4780/ |
H A D | timer.c | 214 ulong get_timer(ulong base) in get_timer() function
|
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | ether.c | 1930 ts = get_timer(0); in eth_stop() 1931 while (get_timer(ts) < timeout) in eth_stop() 2397 ts = get_timer(0); in _usb_eth_init() 2400 if (ctrlc() || (get_timer(ts) > timeout)) { in _usb_eth_init() 2461 ts = get_timer(0); in _usb_eth_send() 2469 if (get_timer(ts) > timeout) { in _usb_eth_send()
|
/openbmc/u-boot/drivers/video/ |
H A D | broadwell_igd.c | 56 start = get_timer(0); in poll32() 59 if (get_timer(start) > GT_RETRY) { in poll32()
|
/openbmc/u-boot/drivers/mmc/ |
H A D | tegra_mmc.c | 280 unsigned long start = get_timer(0); in tegra_mmc_send_cmd_bounced() 306 } else if (get_timer(start) > 8000UL) { in tegra_mmc_send_cmd_bounced()
|
/openbmc/u-boot/drivers/video/tegra124/ |
H A D | display.c | 468 start = get_timer(0); in tegra124_lcd_probe() 472 debug("LCD init took %lu ms\n", get_timer(start)); in tegra124_lcd_probe()
|
/openbmc/u-boot/arch/arm/mach-tegra/tegra210/ |
H A D | clock.c | 1103 start = get_timer(0); in tegra_pllref_enable() 1104 while (get_timer(start) < 250) { in tegra_pllref_enable() 1205 start = get_timer(0); in tegra_plle_enable() 1206 while (get_timer(start) < 250) { in tegra_plle_enable()
|