Searched refs:get_timer (Results 1 - 25 of 243) sorted by relevance

12345678910

/u-boot/cmd/
H A Dtimer.c19 start = get_timer(0);
22 ulong msecs = get_timer(start) * 1000 / CONFIG_SYS_HZ;
H A Dgettime.c20 unsigned long int val = get_timer(0);
H A Dsleep.c15 ulong start = get_timer(0);
41 while (get_timer(start) < delay) {
/u-boot/test/
H A Dtime_ut.c18 base = get_timer(0);
19 start = get_timer(0);
22 next = get_timer(0);
34 * Check that get_timer(base) matches our elapsed time, allowing that
37 diff = get_timer(base);
39 printf("%s: expected get_timer(base) to match elapsed time: diff=%lu, expected=%d\n",
87 start = get_timer(0);
89 while (get_timer(start) < 1000)
108 start = get_timer(0);
111 delta = get_timer(star
[all...]
/u-boot/lib/dhry/
H A Dcmd_dhry.c22 start = get_timer(0);
24 duration = get_timer(start);
/u-boot/arch/arm/mach-omap2/omap3/
H A Dam35x_musb.c28 unsigned long start = get_timer(0);
42 if (get_timer(start) > CONFIG_SYS_HZ / 10) {
/u-boot/drivers/phy/
H A Dphy-da8xx-usb.c30 timeout = get_timer(0);
31 while (get_timer(timeout) < 10) {
/u-boot/arch/arm/mach-at91/
H A Dphy.c25 unsigned long start = get_timer(0);
49 if (get_timer(start) >= timeout) {
H A Dclock.c80 start_time = get_timer(0);
83 tmp_time = get_timer(0);
98 start_time = get_timer(0);
101 tmp_time = get_timer(0);
/u-boot/drivers/fpga/
H A Dspartan2.c146 ts = get_timer (0); /* get current time */
150 if (get_timer (ts) > CFG_SYS_FPGA_WAIT) { /* check the time */
173 ts = get_timer (0); /* get current time */
183 if (get_timer (ts) > CFG_SYS_FPGA_WAIT) { /* check the time */
206 ts = get_timer (0); /* get current time */
215 if (get_timer (ts) > CFG_SYS_FPGA_WAIT) { /* check the time */
331 ts = get_timer (0); /* get current time */
334 if (get_timer (ts) > CFG_SYS_FPGA_WAIT) { /* check the time */
344 ts = get_timer (0); /* get current time */
348 if (get_timer (t
[all...]
H A Dspartan3.c151 ts = get_timer (0); /* get current time */
155 if (get_timer (ts) > CFG_SYS_FPGA_WAIT) { /* check the time */
178 ts = get_timer (0); /* get current time */
188 if (get_timer (ts) > CFG_SYS_FPGA_WAIT) { /* check the time */
211 ts = get_timer (0); /* get current time */
222 if (get_timer (ts) > CFG_SYS_FPGA_WAIT) { /* check the time */
338 ts = get_timer (0); /* get current time */
341 if (get_timer (ts) > CFG_SYS_FPGA_WAIT) { /* check the time */
353 ts = get_timer (0); /* get current time */
357 if (get_timer (t
[all...]
/u-boot/drivers/i2c/muxes/
H A Di2c-arb-gpio-challenge.c49 start = get_timer(0);
61 start_retry = get_timer(0);
62 while (get_timer(start_retry) < priv->wait_retry_ms) {
81 } while (get_timer(start) < priv->wait_free_ms);
84 printf("I2C: Could not claim bus, timeout %lu\n", get_timer(start));
/u-boot/arch/arm/mach-bcm283x/
H A Dmbox.c21 ulong endtime = get_timer(0) + TIMEOUT;
24 debug("time: %lu timeout: %lu\n", get_timer(0), endtime);
37 if (get_timer(0) >= endtime) {
50 if (get_timer(0) >= endtime) {
68 if (get_timer(0) >= endtime) {
/u-boot/drivers/power/regulator/
H A Dtps65090_regulator.c97 start = get_timer(0);
103 if (get_timer(start) > 100)
112 __func__, fet_id, get_timer(start), loops);
115 __func__, fet_id, get_timer(start), loops);
/u-boot/include/
H A Dwait_bit.h46 unsigned long start = get_timer(0); \
57 if (get_timer(start) > timeout_ms) \
/u-boot/arch/mips/mach-mtmips/mt7621/spl/
H A Dlaunch.c85 wait_tick = get_timer(0) + WAIT_CPUS_TIMEOUT;
87 while (time_before(get_timer(0), wait_tick)) {
/u-boot/arch/arm/mach-lpc32xx/
H A Dtimer.c61 ulong get_timer(ulong base) function
81 return get_timer(0);
/u-boot/arch/arm/mach-omap2/
H A Dtimer.c55 ulong get_timer(ulong base) function
98 return get_timer(0);
/u-boot/arch/arm/mach-tegra/
H A Dpowergate.c37 start = get_timer(0);
39 while (get_timer(start) < timeout) {
/u-boot/arch/x86/cpu/apollolake/
H A Dpunit.c65 start = get_timer(0);
67 if (get_timer(start) > 1) {
/u-boot/arch/xtensa/lib/
H A Dtime.c71 ulong get_timer(ulong base) function
100 return get_timer(0);
/u-boot/arch/arm/cpu/armv7/s5p-common/
H A Dtimer.c65 unsigned long get_timer(unsigned long base) function
125 return get_timer(0);
/u-boot/board/armltd/integrator/
H A Dtimer.c122 ulong get_timer (ulong base_ticks) function
150 return get_timer(0);
/u-boot/common/
H A Ddfu.c44 unsigned long start_time = get_timer(0);
95 unsigned long current_time = get_timer(start_time);
/u-boot/drivers/i2c/
H A Di2c-cortina.c95 unsigned long start_time_bb = get_timer(0);
102 if (get_timer(start_time_bb) >
129 unsigned long start_time_bb = get_timer(0);
136 if (get_timer(start_time_bb) >
203 start_time_rx = get_timer(0);
221 start_time_rx = get_timer(0);
223 } else if (get_timer(start_time_rx) > I2C_BYTE_TO) {
241 start_time_tx = get_timer(0);
255 start_time_tx = get_timer(0);
256 } else if (get_timer(start_time_t
[all...]

Completed in 128 milliseconds

12345678910