Searched refs:delayticks (Results 1 – 2 of 2) sorted by relevance
111 ulong delayticks; in __udelay() local114 delayticks = (usec * (CONFIG_SYS_TCLK / 1000000)); in __udelay()116 if (current < delayticks) { in __udelay()117 delayticks -= current; in __udelay()120 while ((TIMER_LOAD_VAL - delayticks) < uboot_cntr_val()) in __udelay()123 while (uboot_cntr_val() > (current - delayticks)) in __udelay()
88 ulong delayticks; in __udelay() local91 delayticks = (usec * (CONFIG_SYS_HZ_CLOCK / 1000000)); in __udelay()92 endtime = get_timer_masked() + delayticks; in __udelay()