Home
last modified time | relevance | path

Searched refs:get_timer (Results 1 – 25 of 222) sorted by relevance

123456789

/third_party/uboot/u-boot-2020.01/test/
Dtime_ut.c17 base = get_timer(0); in test_get_timer()
18 start = get_timer(0); in test_get_timer()
21 next = get_timer(0); in test_get_timer()
36 diff = get_timer(base); in test_get_timer()
86 start = get_timer(0); in test_time_comparison()
88 while (get_timer(start) < 1000) in test_time_comparison()
107 start = get_timer(0); in test_udelay()
110 delta = get_timer(start); in test_udelay()
/third_party/uboot/u-boot-2020.01/drivers/fpga/
Dspartan2.c154 ts = get_timer (0); /* get current time */ in spartan2_sp_load()
158 if (get_timer (ts) > CONFIG_SYS_FPGA_WAIT) { /* check the time */ in spartan2_sp_load()
181 ts = get_timer (0); /* get current time */ in spartan2_sp_load()
191 if (get_timer (ts) > CONFIG_SYS_FPGA_WAIT) { /* check the time */ in spartan2_sp_load()
214 ts = get_timer (0); /* get current time */ in spartan2_sp_load()
223 if (get_timer (ts) > CONFIG_SYS_FPGA_WAIT) { /* check the time */ in spartan2_sp_load()
340 ts = get_timer (0); /* get current time */ in spartan2_ss_load()
343 if (get_timer (ts) > CONFIG_SYS_FPGA_WAIT) { /* check the time */ in spartan2_ss_load()
353 ts = get_timer (0); /* get current time */ in spartan2_ss_load()
357 if (get_timer (ts) > CONFIG_SYS_FPGA_WAIT) { /* check the time */ in spartan2_ss_load()
[all …]
Dspartan3.c158 ts = get_timer (0); /* get current time */ in spartan3_sp_load()
162 if (get_timer (ts) > CONFIG_SYS_FPGA_WAIT) { /* check the time */ in spartan3_sp_load()
185 ts = get_timer (0); /* get current time */ in spartan3_sp_load()
195 if (get_timer (ts) > CONFIG_SYS_FPGA_WAIT) { /* check the time */ in spartan3_sp_load()
218 ts = get_timer (0); /* get current time */ in spartan3_sp_load()
229 if (get_timer (ts) > CONFIG_SYS_FPGA_WAIT) { /* check the time */ in spartan3_sp_load()
346 ts = get_timer (0); /* get current time */ in spartan3_ss_load()
349 if (get_timer (ts) > CONFIG_SYS_FPGA_WAIT) { /* check the time */ in spartan3_ss_load()
361 ts = get_timer (0); /* get current time */ in spartan3_ss_load()
365 if (get_timer (ts) > CONFIG_SYS_FPGA_WAIT) { /* check the time */ in spartan3_ss_load()
[all …]
Dvirtex2.c210 ts = get_timer(0); in virtex2_slave_pre()
212 if (get_timer(ts) > CONFIG_SYS_FPGA_WAIT_INIT) { in virtex2_slave_pre()
228 ts = get_timer(0); in virtex2_slave_pre()
231 if (get_timer(ts) > CONFIG_SYS_FPGA_WAIT_INIT) { in virtex2_slave_pre()
274 ts = get_timer(0); in virtex2_slave_post()
282 if (get_timer(ts) > CONFIG_SYS_FPGA_WAIT_CONFIG) { in virtex2_slave_post()
370 ts = get_timer(0); in virtex2_ssm_load()
372 if (get_timer(ts) > CONFIG_SYS_FPGA_WAIT_BUSY) { in virtex2_ssm_load()
Dzynqpl.c168 ts = get_timer(0); in zynq_dma_transfer()
180 if (get_timer(ts) > CONFIG_SYS_FPGA_PROG_TIME) { in zynq_dma_transfer()
229 ts = get_timer(0); in zynq_dma_xfer_init()
231 if (get_timer(ts) > CONFIG_SYS_FPGA_WAIT) { in zynq_dma_xfer_init()
242 ts = get_timer(0); in zynq_dma_xfer_init()
245 if (get_timer(ts) > CONFIG_SYS_FPGA_WAIT) { in zynq_dma_xfer_init()
397 ts = get_timer(0); in zynq_load()
399 if (get_timer(ts) > CONFIG_SYS_FPGA_WAIT) { in zynq_load()
480 ts = get_timer(0); in zynq_loadfs()
482 if (get_timer(ts) > CONFIG_SYS_FPGA_WAIT) { in zynq_loadfs()
/third_party/uboot/u-boot-2020.01/arch/m68k/lib/
Dtime.c106 ulong get_timer(ulong base) in get_timer() function
156 ulong get_timer(ulong base) in get_timer() function
171 u32 start = get_timer(0); in wait_ticks()
172 while (get_timer(start) < ticks) ; in wait_ticks()
182 return get_timer(0); in get_ticks()
187 return get_timer(usec); in usec2ticks()
/third_party/uboot/u-boot-2020.01/cmd/
Dmisc.c16 ulong start = get_timer(0); in do_sleep()
42 while (get_timer(start) < delay) { in do_sleep()
69 start = get_timer(0); in do_timer()
72 ulong msecs = get_timer(start) * 1000 / CONFIG_SYS_HZ; in do_timer()
Dsf.c77 return len / (max(get_timer(start_ms) / 1024, 1UL)); in bytes_per_second()
79 return 1024 * len / max(get_timer(start_ms), 1UL); in bytes_per_second()
218 const ulong start_time = get_timer(0); in spi_flash_update()
227 ulong last_update = get_timer(0); in spi_flash_update()
231 if (get_timer(last_update) > 100) { in spi_flash_update()
236 last_update = get_timer(0); in spi_flash_update()
251 delta = get_timer(start_time); in spi_flash_update()
588 test->time_ms[test->stage] = get_timer(test->base_ms); in spi_test_next_stage()
590 test->base_ms = get_timer(0); in spi_test_next_stage()
612 test.base_ms = get_timer(0); in spi_flash_test()
/third_party/uboot/u-boot-2020.01/arch/arm/mach-bcm283x/
Dmbox.c19 ulong endtime = get_timer(0) + TIMEOUT; in bcm2835_mbox_call_raw()
22 debug("time: %lu timeout: %lu\n", get_timer(0), endtime); in bcm2835_mbox_call_raw()
35 if (get_timer(0) >= endtime) { in bcm2835_mbox_call_raw()
48 if (get_timer(0) >= endtime) { in bcm2835_mbox_call_raw()
66 if (get_timer(0) >= endtime) { in bcm2835_mbox_call_raw()
/third_party/uboot/u-boot-2020.01/arch/microblaze/cpu/
Dtimer.c19 ulong get_timer (ulong base) in get_timer() function
31 i = get_timer(0); in __udelay()
32 while ((get_timer(0) - i) < (usec / 1000)) in __udelay()
109 return get_timer(0); in get_ticks()
/third_party/uboot/u-boot-2020.01/arch/arm/mach-tegra/tegra210/
Dxusb-padctl.c278 start = get_timer(0); in pcie_phy_enable()
280 while (get_timer(start) < 250) { in pcie_phy_enable()
297 start = get_timer(0); in pcie_phy_enable()
299 while (get_timer(start) < 250) { in pcie_phy_enable()
315 start = get_timer(0); in pcie_phy_enable()
317 while (get_timer(start) < 250) { in pcie_phy_enable()
334 start = get_timer(0); in pcie_phy_enable()
336 while (get_timer(start) < 250) { in pcie_phy_enable()
352 start = get_timer(0); in pcie_phy_enable()
354 while (get_timer(start) < 250) { in pcie_phy_enable()
/third_party/uboot/u-boot-2020.01/drivers/i2c/muxes/
Di2c-arb-gpio-challenge.c45 start = get_timer(0); in i2c_arbitrator_select()
57 start_retry = get_timer(0); in i2c_arbitrator_select()
58 while (get_timer(start_retry) < priv->wait_retry_ms) { in i2c_arbitrator_select()
77 } while (get_timer(start) < priv->wait_free_ms); in i2c_arbitrator_select()
80 printf("I2C: Could not claim bus, timeout %lu\n", get_timer(start)); in i2c_arbitrator_select()
/third_party/uboot/u-boot-2020.01/arch/arm/mach-at91/
Dclock.c80 start_time = get_timer(0); in at91_upll_clk_enable()
83 tmp_time = get_timer(0); in at91_upll_clk_enable()
98 start_time = get_timer(0); in at91_upll_clk_disable()
101 tmp_time = get_timer(0); in at91_upll_clk_disable()
/third_party/uboot/u-boot-2020.01/drivers/power/regulator/
Dtps65090_regulator.c95 start = get_timer(0); in tps65090_fet_set_enable()
101 if (get_timer(start) > 100) in tps65090_fet_set_enable()
110 __func__, fet_id, get_timer(start), loops); in tps65090_fet_set_enable()
113 __func__, fet_id, get_timer(start), loops); in tps65090_fet_set_enable()
/third_party/uboot/u-boot-2020.01/board/freescale/m5253demo/
Dflash.c221 start = get_timer(0); in flash_erase()
235 start = get_timer(0); in flash_erase()
243 if (get_timer(start) > CONFIG_SYS_FLASH_ERASE_TOUT) { in flash_erase()
273 start = get_timer(0); in flash_erase()
295 if (get_timer(start) > in flash_erase()
426 start = get_timer(0); in write_word()
431 if (get_timer(start) > CONFIG_SYS_FLASH_WRITE_TOUT) { in write_word()
/third_party/uboot/u-boot-2020.01/drivers/i2c/
Ddesignware_i2c.c200 unsigned long start_time_bb = get_timer(0); in i2c_wait_for_bb()
206 if (get_timer(start_time_bb) > (unsigned long)(I2C_BYTE_TO_BB)) in i2c_wait_for_bb()
231 ulong start_stop_det = get_timer(0); in i2c_xfer_finish()
237 } else if (get_timer(start_stop_det) > I2C_STOPDET_TO) { in i2c_xfer_finish()
290 start_time_rx = get_timer(0); in __dw_i2c_read()
310 start_time_rx = get_timer(0); in __dw_i2c_read()
312 } else if (get_timer(start_time_rx) > I2C_BYTE_TO) { in __dw_i2c_read()
358 start_time_tx = get_timer(0); in __dw_i2c_write()
368 start_time_tx = get_timer(0); in __dw_i2c_write()
370 } else if (get_timer(start_time_tx) > (nb * I2C_BYTE_TO)) { in __dw_i2c_write()
Ds3c24x0_i2c.c41 ulong start_time = get_timer(0); in WaitForXfer()
47 } while (get_timer(start_time) < I2C_TIMEOUT_MS); in WaitForXfer()
112 ulong start_time = get_timer(0); in i2c_transfer()
121 if (get_timer(start_time) > I2C_TIMEOUT_MS) in i2c_transfer()
286 start_time = get_timer(0); in s3c24x0_i2c_xfer()
288 if (get_timer(start_time) > I2C_TIMEOUT_MS) { in s3c24x0_i2c_xfer()
Drk_i2c.c113 start = get_timer(0); in rk_i2c_send_start_bit()
119 if (get_timer(start) > I2C_TIMEOUT_MS) { in rk_i2c_send_start_bit()
141 start = get_timer(0); in rk_i2c_send_stop_bit()
147 if (get_timer(start) > I2C_TIMEOUT_MS) { in rk_i2c_send_stop_bit()
221 start = get_timer(0); in rk_i2c_read()
231 if (get_timer(start) > I2C_TIMEOUT_MS) { in rk_i2c_read()
310 start = get_timer(0); in rk_i2c_write()
320 if (get_timer(start) > I2C_TIMEOUT_MS) { in rk_i2c_write()
/third_party/uboot/u-boot-2020.01/arch/arm/mach-at91/arm920t/
Dclock.c165 start_time = get_timer(0); in at91_pllb_clk_enable()
168 tmp_time = get_timer(0); in at91_pllb_clk_enable()
183 start_time = get_timer(0); in at91_pllb_clk_disable()
186 tmp_time = get_timer(0); in at91_pllb_clk_disable()
/third_party/uboot/u-boot-2020.01/drivers/net/
Dcs8900.c94 tmo = get_timer(0) + 1 * CONFIG_SYS_HZ; in cs8900_reset()
96 PP_SelfSTAT_InitD) == 0) && tmo < get_timer(0)) in cs8900_reset()
217 for (tmo = get_timer(0) + 5 * CONFIG_SYS_HZ; in cs8900_send()
218 get_timer(0) < tmo;) in cs8900_send()
231 tmo = get_timer(0) + 5 * CONFIG_SYS_HZ; in cs8900_send()
233 if (get_timer(0) >= tmo) in cs8900_send()
Dftmac110.c81 for (ts = get_timer(0); get_timer(ts) < CFG_MDIORD_TIMEOUT; ) { in mdio_read()
110 for (ts = get_timer(0); get_timer(ts) < CFG_MDIOWR_TIMEOUT; ) { in mdio_write()
146 ts = get_timer(0); in ftmac110_phyqry()
154 } while (get_timer(ts) < CFG_LINKUP_TIMEOUT); in ftmac110_phyqry()
201 for (i = get_timer(0); get_timer(i) < 1000; ) { in ftmac110_reset()
/third_party/uboot/u-boot-2020.01/drivers/input/
Dtegra-kbc.c135 get_timer(priv->last_poll_ms) < KBC_REPEAT_RATE_MS) in check_for_keys()
137 priv->last_poll_ms = get_timer(0); in check_for_keys()
162 elapsed_time = get_timer(priv->start_time_ms); in kbd_wait_for_fifo_init()
251 priv->start_time_ms = get_timer(0); in tegra_kbc_open()
252 priv->last_poll_ms = get_timer(0); in tegra_kbc_open()
/third_party/uboot/u-boot-2020.01/drivers/video/rockchip/
Drk_edp.c119 start = get_timer(0); in rk_edp_init_analog_func()
121 if (get_timer(start) > PLL_LOCK_TIMEOUT) { in rk_edp_init_analog_func()
155 start = get_timer(0); in rk_edp_aux_enable()
159 } while (get_timer(start) < 20); in rk_edp_aux_enable()
168 start = get_timer(0); in rk_edp_is_aux_reply()
170 if (get_timer(start) > 10) in rk_edp_is_aux_reply()
643 start = get_timer(0); in rk_edp_hw_link_training()
648 } while (get_timer(start) < 10); in rk_edp_hw_link_training()
816 start = get_timer(0); in rk_edp_is_video_stream_clock_on()
834 } while (get_timer(start) < 100); in rk_edp_is_video_stream_clock_on()
[all …]
/third_party/uboot/u-boot-2020.01/drivers/usb/eth/
Dlan7x.h132 unsigned long start = get_timer(0); in lan7x_wait_for_bit()
143 if (get_timer(start) > timeout_ms) in lan7x_wait_for_bit()
174 unsigned long start = get_timer(0); in lan7x_mdio_wait_for_bit()
185 if (get_timer(start) > timeout_ms) in lan7x_mdio_wait_for_bit()
/third_party/uboot/u-boot-2020.01/drivers/mmc/
Domap_hsmmc.c281 start = get_timer(0); in mmc_init_stream()
283 if (get_timer(0) - start > MAX_RETRY_MS) { in mmc_init_stream()
292 start = get_timer(0); in mmc_init_stream()
294 if (get_timer(0) - start > MAX_RETRY_MS) { in mmc_init_stream()
811 start = get_timer(0); in omap_hsmmc_init_setup()
813 if (get_timer(0) - start > MAX_RETRY_MS) { in omap_hsmmc_init_setup()
819 start = get_timer(0); in omap_hsmmc_init_setup()
821 if (get_timer(0) - start > MAX_RETRY_MS) { in omap_hsmmc_init_setup()
854 start = get_timer(0); in omap_hsmmc_init_setup()
856 if (get_timer(0) - start > MAX_RETRY_MS) { in omap_hsmmc_init_setup()
[all …]

123456789