Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/arch/arm/mach-at91/
H A Dclock.c73 ulong start_time, tmp_time; in at91_upll_clk_enable() local
78 start_time = get_timer(0); in at91_upll_clk_enable()
82 if ((tmp_time - start_time) > EN_UPLL_TIMEOUT) { in at91_upll_clk_enable()
94 ulong start_time, tmp_time; in at91_upll_clk_disable() local
96 start_time = get_timer(0); in at91_upll_clk_disable()
100 if ((tmp_time - start_time) > EN_UPLL_TIMEOUT) { in at91_upll_clk_disable()
/rk3399_rockchip-uboot/arch/arm/mach-at91/arm920t/
H 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()
/rk3399_rockchip-uboot/drivers/misc/
H A Dtegra186_bpmp.c37 ulong start_time; in tegra186_bpmp_call() local
62 start_time = timer_get_us(); in tegra186_bpmp_call()
75 if ((timer_get_us() - start_time) > 20 * 1000) { in tegra186_bpmp_call()
176 ulong tx_base, rx_base, start_time; in tegra186_bpmp_probe() local
206 start_time = timer_get_us(); in tegra186_bpmp_probe()
213 if ((timer_get_us() - start_time) > 100 * 1000) { in tegra186_bpmp_probe()
/rk3399_rockchip-uboot/arch/arm/mach-at91/arm926ejs/
H 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()
/rk3399_rockchip-uboot/drivers/i2c/
H A Ds3c24x0_i2c.c42 ulong start_time = get_timer(0); in WaitForXfer() local
48 } while (get_timer(start_time) < I2C_TIMEOUT_MS); in WaitForXfer()
113 ulong start_time = get_timer(0); in i2c_transfer() local
122 if (get_timer(start_time) > I2C_TIMEOUT_MS) in i2c_transfer()
284 ulong start_time; in s3c24x0_i2c_xfer() local
287 start_time = get_timer(0); in s3c24x0_i2c_xfer()
289 if (get_timer(start_time) > I2C_TIMEOUT_MS) { in s3c24x0_i2c_xfer()
H A Dimx_lpi2c.c76 ulong start_time = get_timer(0); in bus_i2c_wait_for_tx_ready() local
86 if (get_timer(start_time) > LPI2C_TIMEOUT_MS) { in bus_i2c_wait_for_tx_ready()
119 ulong start_time = get_timer(0); in bus_i2c_receive() local
145 if (get_timer(start_time) > LPI2C_TIMEOUT_MS) { in bus_i2c_receive()
H A Dmxc_i2c.c201 ulong start_time = get_timer(0); in wait_for_sr_state() local
219 elapsed = get_timer(start_time); in wait_for_sr_state()
359 ulong elapsed, start_time; in i2c_idle_bus() local
389 start_time = get_timer(0); in i2c_idle_bus()
398 elapsed = get_timer(start_time); in i2c_idle_bus()
H A Dat91_i2c.c28 ulong start_time = get_timer(0); in at91_wait_for_xfer() local
41 } while (get_timer(start_time) < I2C_TIMEOUT_MS); in at91_wait_for_xfer()
/rk3399_rockchip-uboot/drivers/spi/
H A Dlpc32xx_ssp.c126 int start_time; in spi_xfer() local
128 start_time = get_timer(0); in spi_xfer()
135 if (get_timer(start_time) >= CONFIG_LPC32XX_SSP_TIMEOUT) in spi_xfer()
H A Dbcmstb_spi.c247 u32 start_time = get_timer(0); in bcmstb_spi_wait() local
251 if (get_timer(start_time) > HIF_MSPI_WAIT) in bcmstb_spi_wait()
/rk3399_rockchip-uboot/arch/arm/mach-imx/
H 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()
/rk3399_rockchip-uboot/drivers/mailbox/
H A Dmailbox-uclass.c115 ulong start_time; in mbox_recv() local
121 start_time = timer_get_us(); in mbox_recv()
133 if ((timer_get_us() - start_time) >= timeout_us) in mbox_recv()
/rk3399_rockchip-uboot/drivers/input/
H A Dps2mult.c42 static ulong start_time; variable
69 start_time = get_timer(0); in ps2mult_early_init()
368 while (get_timer(start_time) < CONFIG_PS2MULT_DELAY); in ps2mult_init()
/rk3399_rockchip-uboot/cmd/
H A Dsf.c219 const ulong start_time = get_timer(0); in spi_flash_update() local
236 start_time)); in spi_flash_update()
252 delta = get_timer(start_time); in spi_flash_update()
256 delta / 1000, delta % 1000, bytes_per_second(len, start_time)); in spi_flash_update()
/rk3399_rockchip-uboot/drivers/usb/eth/
H A Dsmsc95xx.c207 unsigned long start_time = get_timer(0); in smsc95xx_phy_wait_not_busy() local
214 } while (get_timer(start_time) < 1000); in smsc95xx_phy_wait_not_busy()
267 unsigned long start_time = get_timer(0); in smsc95xx_eeprom_confirm_not_busy() local
275 } while (get_timer(start_time) < 1 * 1000 * 1000); in smsc95xx_eeprom_confirm_not_busy()
283 unsigned long start_time = get_timer(0); in smsc95xx_wait_eeprom() local
291 } while (get_timer(start_time) < 1 * 1000 * 1000); in smsc95xx_wait_eeprom()
/rk3399_rockchip-uboot/drivers/nvme/
H A Dnvme.c187 ulong start_time; in nvme_submit_sync_cmd() local
193 start_time = timer_get_us(); in nvme_submit_sync_cmd()
199 if (timeout_us > 0 && (timer_get_us() - start_time) in nvme_submit_sync_cmd()
/rk3399_rockchip-uboot/doc/
H A DREADME.POST380 unsigned long start_time;