Searched refs:delayticks (Results 1 – 2 of 2) sorted by relevance
115 ulong delayticks; in __udelay() local118 delayticks = (usec * (CONFIG_SYS_TCLK / 1000000)); in __udelay()120 if (current < delayticks) { in __udelay()121 delayticks -= current; in __udelay()124 while ((TIMER_LOAD_VAL - delayticks) < uboot_cntr_val()) in __udelay()127 while (uboot_cntr_val() > (current - delayticks)) in __udelay()
93 ulong delayticks; in __udelay() local96 delayticks = (usec * (CONFIG_SYS_HZ_CLOCK / 1000000)); in __udelay()97 endtime = get_timer_masked() + delayticks; in __udelay()
Completed in 3 milliseconds