Lines Matching +defs:val +defs:to
27 #define TIMER_IRQ_EN(val) BIT(val) argument
29 #define TIMER_IRQ_CLEAR(val) BIT(val) argument
30 #define TIMER_CTL_REG(val) (0x10 * val + 0x10) argument
33 #define TIMER_CTL_CLK_SRC(val) (((val) & 0x3) << 2) argument
35 #define TIMER_CTL_CLK_PRES(val) (((val) & 0x7) << 4) argument
37 #define TIMER_INTVAL_REG(val) (0x10 * (val) + 0x14) argument
38 #define TIMER_CNTVAL_REG(val) (0x10 * (val) + 0x18) argument
58 u32 val = readl(base + TIMER_CTL_REG(timer)); in sun4i_clkevt_time_stop() local
72 u32 val = readl(base + TIMER_CTL_REG(timer)); in sun4i_clkevt_time_start() local
85 struct timer_of *to = to_timer_of(evt); in sun4i_clkevt_shutdown() local
94 struct timer_of *to = to_timer_of(evt); in sun4i_clkevt_set_oneshot() local
104 struct timer_of *to = to_timer_of(evt); in sun4i_clkevt_set_periodic() local
116 struct timer_of *to = to_timer_of(clkevt); in sun4i_clkevt_next_event() local
133 struct timer_of *to = to_timer_of(evt); in sun4i_timer_interrupt() local
141 static struct timer_of to = { variable
171 u32 val; in sun4i_timer_init() local