/external/u-boot/test/ |
D | time_ut.c | 16 base = get_timer(0); in test_get_timer() 17 start = get_timer(0); in test_get_timer() 20 next = get_timer(0); in test_get_timer() 35 diff = get_timer(base); in test_get_timer() 85 start = get_timer(0); in test_time_comparison() 87 while (get_timer(start) < 1000) in test_time_comparison() 106 start = get_timer(0); in test_udelay() 109 delta = get_timer(start); in test_udelay()
|
/external/u-boot/drivers/fpga/ |
D | spartan2.c | 154 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 …]
|
D | spartan3.c | 158 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 …]
|
D | virtex2.c | 210 ts = get_timer (0); in virtex2_ssm_load() 212 if (get_timer (ts) > CONFIG_SYS_FPGA_WAIT_INIT) { in virtex2_ssm_load() 228 ts = get_timer (0); in virtex2_ssm_load() 231 if (get_timer (ts) > CONFIG_SYS_FPGA_WAIT_INIT) { in virtex2_ssm_load() 284 ts = get_timer (0); in virtex2_ssm_load() 286 if (get_timer (ts) > CONFIG_SYS_FPGA_WAIT_BUSY) { in virtex2_ssm_load() 317 ts = get_timer (0); in virtex2_ssm_load() 320 if (get_timer (ts) > CONFIG_SYS_FPGA_WAIT_CONFIG) { in virtex2_ssm_load()
|
D | zynqpl.c | 166 ts = get_timer(0); in zynq_dma_transfer() 178 if (get_timer(ts) > CONFIG_SYS_FPGA_PROG_TIME) { in zynq_dma_transfer() 227 ts = get_timer(0); in zynq_dma_xfer_init() 229 if (get_timer(ts) > CONFIG_SYS_FPGA_WAIT) { in zynq_dma_xfer_init() 240 ts = get_timer(0); in zynq_dma_xfer_init() 243 if (get_timer(ts) > CONFIG_SYS_FPGA_WAIT) { in zynq_dma_xfer_init() 395 ts = get_timer(0); in zynq_load() 397 if (get_timer(ts) > CONFIG_SYS_FPGA_WAIT) { in zynq_load() 475 ts = get_timer(0); in zynq_loadfs() 477 if (get_timer(ts) > CONFIG_SYS_FPGA_WAIT) { in zynq_loadfs()
|
/external/u-boot/arch/m68k/lib/ |
D | time.c | 104 ulong get_timer(ulong base) in get_timer() function 154 ulong get_timer(ulong base) in get_timer() function 169 u32 start = get_timer(0); in wait_ticks() 170 while (get_timer(start) < ticks) ; in wait_ticks() 180 return get_timer(0); in get_ticks() 185 return get_timer(usec); in usec2ticks()
|
/external/u-boot/arch/arm/mach-tegra/tegra210/ |
D | xusb-padctl.c | 278 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()
|
/external/u-boot/cmd/ |
D | misc.c | 16 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()
|
D | sf.c | 75 return len / (max(get_timer(start_ms) / 1024, 1UL)); in bytes_per_second() 77 return 1024 * len / max(get_timer(start_ms), 1UL); in bytes_per_second() 219 const ulong start_time = get_timer(0); in spi_flash_update() 228 ulong last_update = get_timer(0); in spi_flash_update() 232 if (get_timer(last_update) > 100) { in spi_flash_update() 237 last_update = get_timer(0); in spi_flash_update() 252 delta = get_timer(start_time); in spi_flash_update() 423 test->time_ms[test->stage] = get_timer(test->base_ms); in spi_test_next_stage() 425 test->base_ms = get_timer(0); in spi_test_next_stage() 447 test.base_ms = get_timer(0); in spi_flash_test()
|
/external/u-boot/arch/arm/mach-bcm283x/ |
D | mbox.c | 17 ulong endtime = get_timer(0) + TIMEOUT; in bcm2835_mbox_call_raw() 20 debug("time: %lu timeout: %lu\n", get_timer(0), endtime); in bcm2835_mbox_call_raw() 33 if (get_timer(0) >= endtime) { in bcm2835_mbox_call_raw() 46 if (get_timer(0) >= endtime) { in bcm2835_mbox_call_raw() 64 if (get_timer(0) >= endtime) { in bcm2835_mbox_call_raw()
|
/external/u-boot/drivers/i2c/muxes/ |
D | i2c-arb-gpio-challenge.c | 45 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()
|
/external/u-boot/arch/microblaze/cpu/ |
D | timer.c | 18 ulong get_timer (ulong base) in get_timer() function 30 i = get_timer(0); in __udelay() 31 while ((get_timer(0) - i) < (usec / 1000)) in __udelay() 104 return get_timer(0); in get_ticks()
|
/external/u-boot/drivers/i2c/ |
D | designware_i2c.c | 187 unsigned long start_time_bb = get_timer(0); in i2c_wait_for_bb() 193 if (get_timer(start_time_bb) > (unsigned long)(I2C_BYTE_TO_BB)) in i2c_wait_for_bb() 218 ulong start_stop_det = get_timer(0); in i2c_xfer_finish() 224 } else if (get_timer(start_stop_det) > I2C_STOPDET_TO) { in i2c_xfer_finish() 277 start_time_rx = get_timer(0); in __dw_i2c_read() 297 start_time_rx = get_timer(0); in __dw_i2c_read() 299 } else if (get_timer(start_time_rx) > I2C_BYTE_TO) { in __dw_i2c_read() 345 start_time_tx = get_timer(0); in __dw_i2c_write() 355 start_time_tx = get_timer(0); in __dw_i2c_write() 357 } else if (get_timer(start_time_tx) > (nb * I2C_BYTE_TO)) { in __dw_i2c_write()
|
D | rk_i2c.c | 101 start = get_timer(0); in rk_i2c_send_start_bit() 107 if (get_timer(start) > I2C_TIMEOUT_MS) { in rk_i2c_send_start_bit() 129 start = get_timer(0); in rk_i2c_send_stop_bit() 135 if (get_timer(start) > I2C_TIMEOUT_MS) { in rk_i2c_send_stop_bit() 209 start = get_timer(0); in rk_i2c_read() 219 if (get_timer(start) > I2C_TIMEOUT_MS) { in rk_i2c_read() 299 start = get_timer(0); in rk_i2c_write() 309 if (get_timer(start) > I2C_TIMEOUT_MS) { in rk_i2c_write()
|
D | s3c24x0_i2c.c | 41 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()
|
/external/u-boot/board/freescale/m5253demo/ |
D | flash.c | 220 start = get_timer(0); in flash_erase() 234 start = get_timer(0); in flash_erase() 242 if (get_timer(start) > CONFIG_SYS_FLASH_ERASE_TOUT) { in flash_erase() 272 start = get_timer(0); in flash_erase() 294 if (get_timer(start) > in flash_erase() 425 start = get_timer(0); in write_word() 430 if (get_timer(start) > CONFIG_SYS_FLASH_WRITE_TOUT) { in write_word()
|
/external/u-boot/arch/arm/mach-at91/ |
D | clock.c | 77 start_time = get_timer(0); in at91_upll_clk_enable() 80 tmp_time = get_timer(0); in at91_upll_clk_enable() 95 start_time = get_timer(0); in at91_upll_clk_disable() 98 tmp_time = get_timer(0); in at91_upll_clk_disable()
|
/external/u-boot/drivers/power/regulator/ |
D | tps65090_regulator.c | 95 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()
|
/external/u-boot/drivers/mmc/ |
D | omap_hsmmc.c | 276 start = get_timer(0); in mmc_init_stream() 278 if (get_timer(0) - start > MAX_RETRY_MS) { in mmc_init_stream() 287 start = get_timer(0); in mmc_init_stream() 289 if (get_timer(0) - start > MAX_RETRY_MS) { in mmc_init_stream() 728 start = get_timer(0); in omap_hsmmc_init_setup() 730 if (get_timer(0) - start > MAX_RETRY_MS) { in omap_hsmmc_init_setup() 736 start = get_timer(0); in omap_hsmmc_init_setup() 738 if (get_timer(0) - start > MAX_RETRY_MS) { in omap_hsmmc_init_setup() 771 start = get_timer(0); in omap_hsmmc_init_setup() 773 if (get_timer(0) - start > MAX_RETRY_MS) { in omap_hsmmc_init_setup() [all …]
|
/external/u-boot/drivers/net/ |
D | cs8900.c | 94 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()
|
D | ftmac110.c | 81 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()
|
D | pch_gbe.c | 53 start = get_timer(0); in pch_gbe_mac_write() 54 while (get_timer(start) < PCH_GBE_TIMEOUT) { in pch_gbe_mac_write() 92 start = get_timer(0); in pch_gbe_reset() 93 while (get_timer(start) < PCH_GBE_TIMEOUT) { in pch_gbe_reset() 275 start = get_timer(0); in pch_gbe_send() 276 while (get_timer(start) < PCH_GBE_TIMEOUT) { in pch_gbe_send() 338 ulong start = get_timer(0); in pch_gbe_mdio_ready() 340 while (get_timer(start) < PCH_GBE_TIMEOUT) { in pch_gbe_mdio_ready()
|
/external/u-boot/drivers/video/rockchip/ |
D | rk_edp.c | 119 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 …]
|
/external/u-boot/arch/arm/mach-at91/arm920t/ |
D | clock.c | 165 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()
|
/external/u-boot/drivers/input/ |
D | tegra-kbc.c | 135 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()
|