Lines Matching refs:u

77 	u32 u;  in orion_clkevt_next_event()  local
89 u = readl(bridge_base + BRIDGE_MASK_OFF); in orion_clkevt_next_event()
90 u |= BRIDGE_INT_TIMER1; in orion_clkevt_next_event()
91 writel(u, bridge_base + BRIDGE_MASK_OFF); in orion_clkevt_next_event()
101 u = readl(timer_base + TIMER_CTRL_OFF); in orion_clkevt_next_event()
102 u = (u & ~TIMER1_RELOAD_EN) | TIMER1_EN; in orion_clkevt_next_event()
103 writel(u, timer_base + TIMER_CTRL_OFF); in orion_clkevt_next_event()
113 u32 u; in orion_clkevt_shutdown() local
118 u = readl(timer_base + TIMER_CTRL_OFF); in orion_clkevt_shutdown()
119 writel(u & ~TIMER1_EN, timer_base + TIMER_CTRL_OFF); in orion_clkevt_shutdown()
122 u = readl(bridge_base + BRIDGE_MASK_OFF); in orion_clkevt_shutdown()
123 writel(u & ~BRIDGE_INT_TIMER1, bridge_base + BRIDGE_MASK_OFF); in orion_clkevt_shutdown()
136 u32 u; in orion_clkevt_set_periodic() local
145 u = readl(bridge_base + BRIDGE_MASK_OFF); in orion_clkevt_set_periodic()
146 writel(u | BRIDGE_INT_TIMER1, bridge_base + BRIDGE_MASK_OFF); in orion_clkevt_set_periodic()
149 u = readl(timer_base + TIMER_CTRL_OFF); in orion_clkevt_set_periodic()
150 writel(u | TIMER1_EN | TIMER1_RELOAD_EN, timer_base + TIMER_CTRL_OFF); in orion_clkevt_set_periodic()
199 u32 u; in orion_time_init() local
223 u = readl(bridge_base + BRIDGE_MASK_OFF); in orion_time_init()
224 writel(u & ~BRIDGE_INT_TIMER0, bridge_base + BRIDGE_MASK_OFF); in orion_time_init()
225 u = readl(timer_base + TIMER_CTRL_OFF); in orion_time_init()
226 writel(u | TIMER0_EN | TIMER0_RELOAD_EN, timer_base + TIMER_CTRL_OFF); in orion_time_init()