Home
last modified time | relevance | path

Searched refs:tmr_ctrl_val (Results 1 – 1 of 1) sorted by relevance

/u-boot/arch/arm/mach-versatile/
A Dtimer.c36 ulong tmr_ctrl_val; in timer_init() local
39 tmr_ctrl_val = *(volatile ulong *)(CONFIG_SYS_TIMERBASE + 8); in timer_init()
40 tmr_ctrl_val &= ~TIMER_ENABLE; in timer_init()
41 *(volatile ulong *)(CONFIG_SYS_TIMERBASE + 8) = tmr_ctrl_val; in timer_init()
55 tmr_ctrl_val = *(volatile ulong *)(CONFIG_SYS_TIMERBASE + 8); in timer_init()
56 tmr_ctrl_val &= ~(TIMER_MODE_MSK | TIMER_INT_EN | TIMER_PRS_MSK | TIMER_SIZE_MSK | TIMER_ONE_SHT ); in timer_init()
57 tmr_ctrl_val |= (TIMER_ENABLE | TIMER_PRS_8S); in timer_init()
59 *(volatile ulong *)(CONFIG_SYS_TIMERBASE + 8) = tmr_ctrl_val; in timer_init()

Completed in 3 milliseconds