Home
last modified time | relevance | path

Searched refs:time_start (Results 1 – 12 of 12) sorted by relevance

/openbmc/u-boot/drivers/net/ldpaa_eth/
H A Dldpaa_eth.c218 u32 time_start; in ldpaa_eth_rx() local
253 time_start = get_timer(0); in ldpaa_eth_rx()
257 } while (get_timer(time_start) < timeo && err == -EBUSY); in ldpaa_eth_rx()
272 u32 time_start; in ldpaa_eth_pull_dequeue_rx() local
287 time_start = get_timer(0); in ldpaa_eth_pull_dequeue_rx()
291 } while (get_timer(time_start) < timeo && !dq); in ldpaa_eth_pull_dequeue_rx()
331 u32 time_start; in ldpaa_eth_tx() local
371 time_start = get_timer(0); in ldpaa_eth_tx()
373 while (get_timer(time_start) < timeo) { in ldpaa_eth_tx()
390 time_start = get_timer(0); in ldpaa_eth_tx()
[all …]
/openbmc/u-boot/net/
H A Dtftp.c47 static ulong time_start; /* Record time we started tftp */ variable
298 time_start = get_timer(time_start); in tftp_complete()
299 if (time_start > 0) { in tftp_complete()
302 time_start * 1000, "/s"); in tftp_complete()
731 time_start = get_timer(0); in tftp_start()
H A Dnet.c202 static ulong time_start; variable
581 time_start = get_timer(0); in net_loop()
616 ((get_timer(0) - time_start) > time_delta)) { in net_loop()
811 time_start = get_timer(0); in net_set_timeout_handler()
/openbmc/u-boot/arch/arm/mach-stm32mp/
H A Dpwr_regulator.c223 u32 time_start; in stm32mp_pwr_regulator_set_enable() local
247 time_start = get_timer(0); in stm32mp_pwr_regulator_set_enable()
254 if (get_timer(time_start) > CONFIG_SYS_HZ) { in stm32mp_pwr_regulator_set_enable()
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dmxs_nand_spl.c18 u32 timeo, time_start; in mxs_nand_command() local
45 time_start = get_timer(0); in mxs_nand_command()
46 while (get_timer(time_start) < timeo) { in mxs_nand_command()
H A Dfsl_ifc_nand.c262 u32 time_start; in fsl_ifc_run_command() local
274 time_start = get_timer(0); in fsl_ifc_run_command()
276 while (get_timer(time_start) < timeo) { in fsl_ifc_run_command()
807 u32 time_start; in fsl_ifc_sram_init() local
814 time_start = get_timer(0); in fsl_ifc_sram_init()
815 while (get_timer(time_start) < timeo) { in fsl_ifc_sram_init()
858 time_start = get_timer(0); in fsl_ifc_sram_init()
860 while (get_timer(time_start) < timeo) { in fsl_ifc_sram_init()
H A Dsunxi_nand.c319 u32 time_start, status; in sunxi_nfc_wait_int() local
327 time_start = get_timer(0); in sunxi_nfc_wait_int()
337 } while (get_timer(time_start) < timeout_ticks); in sunxi_nfc_wait_int()
348 u32 time_start; in sunxi_nfc_wait_cmd_fifo_empty() local
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()
364 u32 time_start; in sunxi_nfc_rst() local
369 time_start = get_timer(0); in sunxi_nfc_rst()
373 } while (get_timer(time_start) < timeout); in sunxi_nfc_rst()
H A Dfsl_elbc_nand.c201 u32 time_start; in fsl_elbc_run_command() local
220 time_start = get_timer(0); in fsl_elbc_run_command()
223 while (get_timer(time_start) < timeo) { in fsl_elbc_run_command()
H A Dnand_base.c552 u32 time_start; in nand_wait_ready() local
554 time_start = get_timer(0); in nand_wait_ready()
556 while (get_timer(time_start) < timeo) { in nand_wait_ready()
577 u32 time_start; in nand_wait_status_ready() local
580 time_start = get_timer(0); in nand_wait_status_ready()
581 while (get_timer(time_start) < timeo) { in nand_wait_status_ready()
884 u32 time_start; in nand_wait() local
886 time_start = get_timer(0); in nand_wait()
887 while (get_timer(time_start) < timer) { in nand_wait()
/openbmc/u-boot/drivers/usb/host/
H A Dsl811-hcd.c218 int err = 0, time_start = get_timer(0); in sl811_send_packet() local
248 if (5*CONFIG_SYS_HZ < get_timer(time_start)) { in sl811_send_packet()
/openbmc/u-boot/drivers/i2c/
H A Dstm32f7_i2c.c323 u32 time_start = get_timer(0); in stm32_i2c_wait_flags() local
327 if (get_timer(time_start) > CONFIG_SYS_HZ) { in stm32_i2c_wait_flags()
/openbmc/u-boot/drivers/mtd/onenand/
H A Donenand_base.c476 u32 time_start = get_timer(0); in onenand_wait() local
479 if (get_timer(time_start) > timeo) in onenand_wait()
1168 u32 time_start = get_timer(0); in onenand_bbt_wait() local
1171 if (get_timer(time_start) > timeo) in onenand_bbt_wait()