Home
last modified time | relevance | path

Searched refs:get_timer (Results 151 – 175 of 211) sorted by relevance

123456789

/openbmc/u-boot/drivers/spi/
H A Dbcmstb_spi.c247 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 Dzynq_qspi.c347 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 Dmxc_spi.c286 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 Dfsmc_nand.c269 start = get_timer(0); in fsmc_read_hwecc()
270 while (get_timer(start) < timeout) { in fsmc_read_hwecc()
H A Dsunxi_nand.c327 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 DxyzModem.c66 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 Dcommand.c605 *ticks = get_timer(0); in cmd_process()
608 *ticks = get_timer(*ticks); in cmd_process()
/openbmc/u-boot/drivers/net/
H A Ddm9000x.c426 tmo = get_timer(0) + 5 * CONFIG_SYS_HZ; in dm9000_send()
429 if (get_timer(0) >= tmo) { in dm9000_send()
H A Dxilinx_emaclite.c154 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 Dcros_ec_sandbox.c502 start = get_timer(0); in cros_ec_check_keyboard()
503 while (get_timer(start) < 1000) in cros_ec_check_keyboard()
H A Dcros_ec.c333 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 Dsf_dataflash.c99 timebase = get_timer(0); in dataflash_waitready()
109 } while (get_timer(timebase) < timeout); in dataflash_waitready()
/openbmc/u-boot/drivers/usb/host/
H A Dehci-hcd.c573 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 Dsl811-hcd.c218 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 Dmpic_timer.c190 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 Darp.c105 t = get_timer(0); in arp_timeout_check()
H A Dlink_local.c20 #define MONOTONIC_MS() ((unsigned)get_timer(0) * (1000 / CONFIG_SYS_HZ))
/openbmc/u-boot/arch/arm/mach-uniphier/dram/
H A Dumc-pxs2.c322 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 Dtsc_timer.c352 ulong get_timer(ulong base) in get_timer() function
/openbmc/u-boot/arch/mips/mach-jz47xx/jz4780/
H A Dtimer.c214 ulong get_timer(ulong base) in get_timer() function
/openbmc/u-boot/drivers/usb/gadget/
H A Dether.c1930 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 Dbroadwell_igd.c56 start = get_timer(0); in poll32()
59 if (get_timer(start) > GT_RETRY) { in poll32()
/openbmc/u-boot/drivers/mmc/
H A Dtegra_mmc.c280 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 Ddisplay.c468 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 Dclock.c1103 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()

123456789