Lines Matching +full:watchdog +full:- +full:timers
1 // SPDX-License-Identifier: GPL-2.0+
7 * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
34 * ARM Timers Registers Map
36 #define CNTMR_CTRL_REG (&orion5x_tmr_regs->ctrl)
37 #define CNTMR_RELOAD_REG(tmrnum) (&orion5x_tmr_regs->tmr[tmrnum].reload)
38 #define CNTMR_VAL_REG(tmrnum) (&orion5x_tmr_regs->tmr[tmrnum].val)
41 * ARM Timers Control Register
55 * ARM Timer\Watchdog Reload Register
62 * ARM Timer\Watchdog Register
78 #define timestamp gd->arch.tbl
79 #define lastdec gd->arch.lastinc
87 timestamp += lastdec - now; in get_timer_masked()
91 (TIMER_LOAD_VAL / (CONFIG_SYS_TCLK / 1000)) - now; in get_timer_masked()
100 return get_timer_masked() - base; in get_timer()
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()