Home
last modified time | relevance | path

Searched refs:start_time (Results 1 – 21 of 21) sorted by relevance

/u-boot/arch/arm/mach-at91/
A Dclock.c75 ulong start_time, tmp_time; in at91_upll_clk_enable() local
80 start_time = get_timer(0); in at91_upll_clk_enable()
84 if ((tmp_time - start_time) > EN_UPLL_TIMEOUT) { in at91_upll_clk_enable()
96 ulong start_time, tmp_time; in at91_upll_clk_disable() local
98 start_time = get_timer(0); in at91_upll_clk_disable()
102 if ((tmp_time - start_time) > EN_UPLL_TIMEOUT) { in at91_upll_clk_disable()
/u-boot/arch/arm/mach-at91/arm920t/
A Dclock.c164 ulong start_time, tmp_time; in at91_pllb_clk_enable() local
166 start_time = get_timer(0); in at91_pllb_clk_enable()
170 if ((tmp_time - start_time) > EN_PLLB_TIMEOUT) { in at91_pllb_clk_enable()
182 ulong start_time, tmp_time; in at91_pllb_clk_disable() local
184 start_time = get_timer(0); in at91_pllb_clk_disable()
188 if ((tmp_time - start_time) > EN_PLLB_TIMEOUT) { in at91_pllb_clk_disable()
/u-boot/drivers/misc/
A Dtegra186_bpmp.c42 ulong start_time; in tegra186_bpmp_call() local
67 start_time = timer_get_us(); in tegra186_bpmp_call()
80 if ((timer_get_us() - start_time) > 20 * 1000) { in tegra186_bpmp_call()
181 ulong tx_base, rx_base, start_time; in tegra186_bpmp_probe() local
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/mach-at91/arm926ejs/
A Dclock.c257 ulong start_time, tmp_time; in at91_pllb_clk_enable() local
259 start_time = get_timer(0); in at91_pllb_clk_enable()
263 if ((tmp_time - start_time) > EN_PLLB_TIMEOUT) { in at91_pllb_clk_enable()
275 ulong start_time, tmp_time; in at91_pllb_clk_disable() local
277 start_time = get_timer(0); in at91_pllb_clk_disable()
281 if ((tmp_time - start_time) > EN_PLLB_TIMEOUT) { in at91_pllb_clk_disable()
/u-boot/drivers/i2c/
A Ds3c24x0_i2c.c43 ulong start_time = get_timer(0); in WaitForXfer() local
49 } while (get_timer(start_time) < I2C_TIMEOUT_MS); in WaitForXfer()
114 ulong start_time = get_timer(0); in i2c_transfer() local
123 if (get_timer(start_time) > I2C_TIMEOUT_MS) in i2c_transfer()
285 ulong start_time; in s3c24x0_i2c_xfer() local
288 start_time = get_timer(0); in s3c24x0_i2c_xfer()
290 if (get_timer(start_time) > I2C_TIMEOUT_MS) { in s3c24x0_i2c_xfer()
A Dimx_lpi2c.c79 ulong start_time = get_timer(0); in bus_i2c_wait_for_tx_ready() local
89 if (get_timer(start_time) > LPI2C_TIMEOUT_MS) { in bus_i2c_wait_for_tx_ready()
126 ulong start_time = get_timer(0); in bus_i2c_receive() local
152 if (get_timer(start_time) > LPI2C_TIMEOUT_MS) { in bus_i2c_receive()
207 ulong start_time; in bus_i2c_stop() local
218 start_time = get_timer(0); in bus_i2c_stop()
230 if (get_timer(start_time) > LPI2C_NACK_TOUT_MS) { in bus_i2c_stop()
A Dnx_i2c.c260 ulong start_time; in i2c_is_busy() local
262 start_time = get_timer(0); in i2c_is_busy()
264 if (get_timer(start_time) > I2C_TIMEOUT_MS) { in i2c_is_busy()
347 unsigned long start_time = get_timer(0); in wait_for_xfer() local
354 } while (get_timer(start_time) < I2C_TIMEOUT_MS); in wait_for_xfer()
A Dmxc_i2c.c211 ulong start_time = get_timer(0); in wait_for_sr_state() local
229 elapsed = get_timer(start_time); in wait_for_sr_state()
424 ulong elapsed, start_time; in i2c_idle_bus() local
468 start_time = get_timer(0); in i2c_idle_bus()
477 elapsed = get_timer(start_time); in i2c_idle_bus()
A Dat91_i2c.c29 ulong start_time = get_timer(0); in at91_wait_for_xfer() local
42 } while (get_timer(start_time) < I2C_TIMEOUT_MS); in at91_wait_for_xfer()
/u-boot/common/
A Ddfu.c41 unsigned long start_time = get_timer(0); in run_usb_dnl_gadget() local
92 unsigned long current_time = get_timer(start_time); in run_usb_dnl_gadget()
/u-boot/arch/arm/mach-imx/
A Di2c-mxv7.c19 ulong elapsed, start_time; in force_idle_bus() local
43 start_time = get_timer(0); in force_idle_bus()
50 elapsed = get_timer(start_time); in force_idle_bus()
/u-boot/drivers/mailbox/
A Dmailbox-uclass.c128 ulong start_time; in mbox_recv() local
134 start_time = timer_get_us(); in mbox_recv()
146 if ((timer_get_us() - start_time) >= timeout_us) in mbox_recv()
/u-boot/cmd/
A Dsf.c221 const ulong start_time = get_timer(0); in spi_flash_update() local
238 start_time)); in spi_flash_update()
254 delta = get_timer(start_time); in spi_flash_update()
258 delta / 1000, delta % 1000, bytes_per_second(len, start_time)); in spi_flash_update()
/u-boot/drivers/net/octeontx/
A Dsmi.c266 ulong start_time; in rxaui_phy_xs_init() local
289 start_time = get_timer(0); in rxaui_phy_xs_init()
294 } while ((reg & 0x8000) && get_timer(start_time) < 500); in rxaui_phy_xs_init()
/u-boot/board/theadorable/
A Dtheadorable.c270 unsigned long start_time = get_timer(0); in board_late_init() local
290 } while (get_timer(start_time) < ABORT_TIMEOUT); in board_late_init()
/u-boot/drivers/usb/eth/
A Dsmsc95xx.c209 unsigned long start_time = get_timer(0); in smsc95xx_phy_wait_not_busy() local
216 } while (get_timer(start_time) < 1000); in smsc95xx_phy_wait_not_busy()
269 unsigned long start_time = get_timer(0); in smsc95xx_eeprom_confirm_not_busy() local
277 } while (get_timer(start_time) < 1 * 1000 * 1000); in smsc95xx_eeprom_confirm_not_busy()
285 unsigned long start_time = get_timer(0); in smsc95xx_wait_eeprom() local
293 } while (get_timer(start_time) < 1 * 1000 * 1000); in smsc95xx_wait_eeprom()
/u-boot/drivers/spi/
A Dbcmstb_spi.c248 u32 start_time = get_timer(0); in bcmstb_spi_wait() local
252 if (get_timer(start_time) > HIF_MSPI_WAIT) in bcmstb_spi_wait()
/u-boot/drivers/nvme/
A Dnvme.c190 ulong start_time; in nvme_submit_sync_cmd() local
196 start_time = timer_get_us(); in nvme_submit_sync_cmd()
202 if (timeout_us > 0 && (timer_get_us() - start_time) in nvme_submit_sync_cmd()
/u-boot/drivers/net/
A Dcortina_ni.c298 u32 start_time; in ca_ni_auto_scan_active_port() local
300 start_time = get_timer(0); in ca_ni_auto_scan_active_port()
301 while (get_timer(start_time) < AUTO_SCAN_TIMEOUT) { in ca_ni_auto_scan_active_port()
/u-boot/drivers/mmc/
A Docteontx_hsmmc.c1032 ulong start_time = get_timer(0); in octeontx_mmc_wait_dma() local
1091 timed_out = (get_timer(start_time) > timeout); in octeontx_mmc_wait_dma()
1099 get_timer(start_time), rsp_sts.u, in octeontx_mmc_wait_dma()
/u-boot/doc/
A DREADME.POST369 unsigned long start_time;

Completed in 60 milliseconds