| /OK3568_Linux_fs/u-boot/test/ |
| H A 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()
|
| /OK3568_Linux_fs/u-boot/drivers/mmc/ |
| H A D | omap_hsmmc.c | 199 start = get_timer(0); in mmc_init_stream() 201 if (get_timer(0) - start > MAX_RETRY_MS) { in mmc_init_stream() 210 start = get_timer(0); in mmc_init_stream() 212 if (get_timer(0) - start > MAX_RETRY_MS) { in mmc_init_stream() 233 start = get_timer(0); in omap_hsmmc_init_setup() 235 if (get_timer(0) - start > MAX_RETRY_MS) { in omap_hsmmc_init_setup() 241 start = get_timer(0); in omap_hsmmc_init_setup() 243 if (get_timer(0) - start > MAX_RETRY_MS) { in omap_hsmmc_init_setup() 264 start = get_timer(0); in omap_hsmmc_init_setup() 266 if (get_timer(0) - start > MAX_RETRY_MS) { in omap_hsmmc_init_setup() [all …]
|
| H A D | ftsdc010_mci.c | 62 for (ts = get_timer(0); get_timer(ts) < CFG_CMD_TIMEOUT; ) { in ftsdc010_send_cmd() 71 for (ts = get_timer(0); get_timer(ts) < CFG_CMD_TIMEOUT; ) { in ftsdc010_send_cmd() 132 for (ts = get_timer(0); get_timer(ts) < CFG_CMD_TIMEOUT; ) { in ftsdc010_wait() 295 for (ts = get_timer(0); get_timer(ts) < CFG_RST_TIMEOUT; ) { in ftsdc010_init()
|
| H A D | dw_mmc.c | 228 ulong start = get_timer(0); in dwmci_data_transfer() 301 start = get_timer(0); in dwmci_data_transfer() 331 start = get_timer(0); in dwmci_data_transfer() 342 if (get_timer(start) > timeout) { in dwmci_data_transfer() 383 ulong start = get_timer(0); 387 if (get_timer(start) > timeout) { 451 start = get_timer(0); 459 } while (!(get_timer(start) > timeout)); 461 if (get_timer(start) > timeout) { 525 ulong start = get_timer(0); [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/fpga/ |
| H A D | spartan2.c | 155 ts = get_timer (0); /* get current time */ in spartan2_sp_load() 159 if (get_timer (ts) > CONFIG_SYS_FPGA_WAIT) { /* check the time */ in spartan2_sp_load() 182 ts = get_timer (0); /* get current time */ in spartan2_sp_load() 192 if (get_timer (ts) > CONFIG_SYS_FPGA_WAIT) { /* check the time */ in spartan2_sp_load() 215 ts = get_timer (0); /* get current time */ in spartan2_sp_load() 224 if (get_timer (ts) > CONFIG_SYS_FPGA_WAIT) { /* check the time */ in spartan2_sp_load() 341 ts = get_timer (0); /* get current time */ in spartan2_ss_load() 344 if (get_timer (ts) > CONFIG_SYS_FPGA_WAIT) { /* check the time */ in spartan2_ss_load() 354 ts = get_timer (0); /* get current time */ in spartan2_ss_load() 358 if (get_timer (ts) > CONFIG_SYS_FPGA_WAIT) { /* check the time */ in spartan2_ss_load() [all …]
|
| H A D | spartan3.c | 159 ts = get_timer (0); /* get current time */ in spartan3_sp_load() 163 if (get_timer (ts) > CONFIG_SYS_FPGA_WAIT) { /* check the time */ in spartan3_sp_load() 186 ts = get_timer (0); /* get current time */ in spartan3_sp_load() 196 if (get_timer (ts) > CONFIG_SYS_FPGA_WAIT) { /* check the time */ in spartan3_sp_load() 219 ts = get_timer (0); /* get current time */ in spartan3_sp_load() 230 if (get_timer (ts) > CONFIG_SYS_FPGA_WAIT) { /* check the time */ in spartan3_sp_load() 347 ts = get_timer (0); /* get current time */ in spartan3_ss_load() 350 if (get_timer (ts) > CONFIG_SYS_FPGA_WAIT) { /* check the time */ in spartan3_ss_load() 362 ts = get_timer (0); /* get current time */ in spartan3_ss_load() 366 if (get_timer (ts) > CONFIG_SYS_FPGA_WAIT) { /* check the time */ in spartan3_ss_load() [all …]
|
| H A D | virtex2.c | 211 ts = get_timer (0); in virtex2_ssm_load() 213 if (get_timer (ts) > CONFIG_SYS_FPGA_WAIT_INIT) { in virtex2_ssm_load() 229 ts = get_timer (0); in virtex2_ssm_load() 232 if (get_timer (ts) > CONFIG_SYS_FPGA_WAIT_INIT) { in virtex2_ssm_load() 285 ts = get_timer (0); in virtex2_ssm_load() 287 if (get_timer (ts) > CONFIG_SYS_FPGA_WAIT_BUSY) { in virtex2_ssm_load() 318 ts = get_timer (0); in virtex2_ssm_load() 321 if (get_timer (ts) > CONFIG_SYS_FPGA_WAIT_CONFIG) { in virtex2_ssm_load()
|
| H A 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() 212 ts = get_timer(0); in zynq_dma_xfer_init() 214 if (get_timer(ts) > CONFIG_SYS_FPGA_WAIT) { in zynq_dma_xfer_init() 225 ts = get_timer(0); in zynq_dma_xfer_init() 228 if (get_timer(ts) > CONFIG_SYS_FPGA_WAIT) { in zynq_dma_xfer_init() 380 ts = get_timer(0); in zynq_load() 382 if (get_timer(ts) > CONFIG_SYS_FPGA_WAIT) { in zynq_load() 460 ts = get_timer(0); in zynq_loadfs() 462 if (get_timer(ts) > CONFIG_SYS_FPGA_WAIT) { in zynq_loadfs()
|
| /OK3568_Linux_fs/u-boot/arch/m68k/lib/ |
| H A D | time.c | 105 ulong get_timer(ulong base) in get_timer() function 155 ulong get_timer(ulong base) in get_timer() function 170 u32 start = get_timer(0); in wait_ticks() 171 while (get_timer(start) < ticks) ; in wait_ticks() 181 return get_timer(0); in get_ticks() 186 return get_timer(usec); in usec2ticks()
|
| /OK3568_Linux_fs/u-boot/drivers/power/ |
| H A D | charge_animation.c | 279 get_timer(priv->auto_screen_off_timeout) > in check_key_press() 317 get_timer(priv->suspend_delay_timeout) <= SYSTEM_SUSPEND_DELAY_MS) in system_suspend_enter() 357 priv->suspend_delay_timeout = get_timer(0); in system_suspend_enter() 693 charge_start = get_timer(0); in charge_animation_show() 694 delta = get_timer(0); in charge_animation_show() 703 if (!first_poll_fg && get_timer(delta) < FUEL_GAUGE_POLL_MS) in charge_animation_show() 706 delta = get_timer(0); in charge_animation_show() 787 debug_start = get_timer(0); in charge_animation_show() 788 if (get_timer(debug_start) > 30000) { in charge_animation_show() 789 debug_start = get_timer(0); in charge_animation_show() [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-tegra/tegra210/ |
| H A D | xusb-padctl.c | 279 start = get_timer(0); in pcie_phy_enable() 281 while (get_timer(start) < 250) { in pcie_phy_enable() 298 start = get_timer(0); in pcie_phy_enable() 300 while (get_timer(start) < 250) { in pcie_phy_enable() 316 start = get_timer(0); in pcie_phy_enable() 318 while (get_timer(start) < 250) { in pcie_phy_enable() 335 start = get_timer(0); in pcie_phy_enable() 337 while (get_timer(start) < 250) { in pcie_phy_enable() 353 start = get_timer(0); in pcie_phy_enable() 355 while (get_timer(start) < 250) { in pcie_phy_enable()
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-bcm283x/ |
| H A D | mbox.c | 18 ulong endtime = get_timer(0) + TIMEOUT; in bcm2835_mbox_call_raw() 21 debug("time: %lu timeout: %lu\n", get_timer(0), endtime); in bcm2835_mbox_call_raw() 34 if (get_timer(0) >= endtime) { in bcm2835_mbox_call_raw() 47 if (get_timer(0) >= endtime) { in bcm2835_mbox_call_raw() 65 if (get_timer(0) >= endtime) { in bcm2835_mbox_call_raw()
|
| /OK3568_Linux_fs/u-boot/cmd/ |
| H A D | misc.c | 17 ulong start = get_timer(0); in do_sleep() 43 while (get_timer(start) < delay) { in do_sleep() 70 start = get_timer(0); in do_timer() 73 ulong msecs = get_timer(start) * 1000 / CONFIG_SYS_HZ; in do_timer()
|
| H A D | sf.c | 76 return len / (max(get_timer(start_ms) / 1024, 1UL)); in bytes_per_second() 78 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() 448 test.base_ms = get_timer(0); in spi_flash_test()
|
| /OK3568_Linux_fs/u-boot/drivers/i2c/muxes/ |
| H A D | i2c-arb-gpio-challenge.c | 46 start = get_timer(0); in i2c_arbitrator_select() 58 start_retry = get_timer(0); in i2c_arbitrator_select() 59 while (get_timer(start_retry) < priv->wait_retry_ms) { in i2c_arbitrator_select() 78 } while (get_timer(start) < priv->wait_free_ms); in i2c_arbitrator_select() 81 printf("I2C: Could not claim bus, timeout %lu\n", get_timer(start)); in i2c_arbitrator_select()
|
| /OK3568_Linux_fs/u-boot/drivers/i2c/ |
| H A D | designware_i2c.c | 186 unsigned long start_time_bb = get_timer(0); in i2c_wait_for_bb() 192 if (get_timer(start_time_bb) > (unsigned long)(I2C_BYTE_TO_BB)) in i2c_wait_for_bb() 217 ulong start_stop_det = get_timer(0); in i2c_xfer_finish() 223 } else if (get_timer(start_stop_det) > I2C_STOPDET_TO) { in i2c_xfer_finish() 276 start_time_rx = get_timer(0); in __dw_i2c_read() 296 start_time_rx = get_timer(0); in __dw_i2c_read() 298 } else if (get_timer(start_time_rx) > I2C_BYTE_TO) { in __dw_i2c_read() 344 start_time_tx = get_timer(0); in __dw_i2c_write() 354 start_time_tx = get_timer(0); in __dw_i2c_write() 356 } else if (get_timer(start_time_tx) > (nb * I2C_BYTE_TO)) { in __dw_i2c_write()
|
| H A D | s3c24x0_i2c.c | 42 ulong start_time = get_timer(0); in WaitForXfer() 48 } while (get_timer(start_time) < I2C_TIMEOUT_MS); in WaitForXfer() 113 ulong start_time = get_timer(0); in i2c_transfer() 122 if (get_timer(start_time) > I2C_TIMEOUT_MS) in i2c_transfer() 287 start_time = get_timer(0); in s3c24x0_i2c_xfer() 289 if (get_timer(start_time) > I2C_TIMEOUT_MS) { in s3c24x0_i2c_xfer()
|
| /OK3568_Linux_fs/u-boot/arch/microblaze/cpu/ |
| H A D | timer.c | 19 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() 105 return get_timer(0); in get_ticks()
|
| /OK3568_Linux_fs/u-boot/board/freescale/m5253demo/ |
| H A D | flash.c | 221 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()
|
| /OK3568_Linux_fs/u-boot/drivers/power/regulator/ |
| H A D | tps65090_regulator.c | 96 start = get_timer(0); in tps65090_fet_set_enable() 102 if (get_timer(start) > 100) in tps65090_fet_set_enable() 111 __func__, fet_id, get_timer(start), loops); in tps65090_fet_set_enable() 114 __func__, fet_id, get_timer(start), loops); in tps65090_fet_set_enable()
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-at91/ |
| H A D | clock.c | 78 start_time = get_timer(0); in at91_upll_clk_enable() 81 tmp_time = get_timer(0); in at91_upll_clk_enable() 96 start_time = get_timer(0); in at91_upll_clk_disable() 99 tmp_time = get_timer(0); in at91_upll_clk_disable()
|
| /OK3568_Linux_fs/u-boot/common/ |
| H A D | fb_common.c | 32 *start = get_timer(0); in timed_send_info() 34 ulong time = get_timer(*start); in timed_send_info() 37 *start = get_timer(0); in timed_send_info()
|
| /OK3568_Linux_fs/u-boot/drivers/net/ |
| H A D | cs8900.c | 95 tmo = get_timer(0) + 1 * CONFIG_SYS_HZ; in cs8900_reset() 97 PP_SelfSTAT_InitD) == 0) && tmo < get_timer(0)) in cs8900_reset() 218 for (tmo = get_timer(0) + 5 * CONFIG_SYS_HZ; in cs8900_send() 219 get_timer(0) < tmo;) in cs8900_send() 232 tmo = get_timer(0) + 5 * CONFIG_SYS_HZ; in cs8900_send() 234 if (get_timer(0) >= tmo) in cs8900_send()
|
| H A D | ftmac110.c | 82 for (ts = get_timer(0); get_timer(ts) < CFG_MDIORD_TIMEOUT; ) { in mdio_read() 111 for (ts = get_timer(0); get_timer(ts) < CFG_MDIOWR_TIMEOUT; ) { in mdio_write() 147 ts = get_timer(0); in ftmac110_phyqry() 155 } while (get_timer(ts) < CFG_LINKUP_TIMEOUT); in ftmac110_phyqry() 202 for (i = get_timer(0); get_timer(i) < 1000; ) { in ftmac110_reset()
|
| /OK3568_Linux_fs/u-boot/drivers/video/rockchip/ |
| H A D | rk_edp.c | 122 start = get_timer(0); in rk_edp_init_analog_func() 124 if (get_timer(start) > PLL_LOCK_TIMEOUT) { in rk_edp_init_analog_func() 158 start = get_timer(0); in rk_edp_aux_enable() 162 } while (get_timer(start) < 20); in rk_edp_aux_enable() 171 start = get_timer(0); in rk_edp_is_aux_reply() 173 if (get_timer(start) > 10) in rk_edp_is_aux_reply() 646 start = get_timer(0); in rk_edp_hw_link_training() 651 } while (get_timer(start) < 10); in rk_edp_hw_link_training() 819 start = get_timer(0); in rk_edp_is_video_stream_clock_on() 837 } while (get_timer(start) < 100); in rk_edp_is_video_stream_clock_on() [all …]
|