Lines Matching +defs:val +defs:to
52 struct timer_of *to = to_timer_of(clk); in mlb_timer_interrupt() local
53 u32 val; in mlb_timer_interrupt() local
64 static void mlb_evt_timer_start(struct timer_of *to, bool periodic) in mlb_evt_timer_start()
66 u32 val = MLB_TMR_TMCSR_CSL_DIV2; in mlb_evt_timer_start() local
74 static void mlb_evt_timer_stop(struct timer_of *to) in mlb_evt_timer_stop()
76 u32 val = readl_relaxed(timer_of_base(to) + MLB_TMR_EVT_TMCSR_OFS); in mlb_evt_timer_stop() local
82 static void mlb_evt_timer_register_count(struct timer_of *to, unsigned long cnt) in mlb_evt_timer_register_count()
89 struct timer_of *to = to_timer_of(clk); in mlb_set_state_periodic() local
99 struct timer_of *to = to_timer_of(clk); in mlb_set_state_oneshot() local
108 struct timer_of *to = to_timer_of(clk); in mlb_set_state_shutdown() local
117 struct timer_of *to = to_timer_of(clk); in mlb_clkevt_next_event() local
125 static int mlb_config_clock_source(struct timer_of *to) in mlb_config_clock_source()
127 u32 val = MLB_TMR_TMCSR_CSL_DIV2; in mlb_config_clock_source() local
137 static int mlb_config_clock_event(struct timer_of *to) in mlb_config_clock_event()
143 static struct timer_of to = { variable