Lines Matching refs:evt
126 static int armada_370_xp_clkevt_shutdown(struct clock_event_device *evt) in armada_370_xp_clkevt_shutdown() argument
140 static int armada_370_xp_clkevt_set_periodic(struct clock_event_device *evt) in armada_370_xp_clkevt_set_periodic() argument
162 struct clock_event_device *evt = dev_id; in armada_370_xp_timer_interrupt() local
165 evt->event_handler(evt); in armada_370_xp_timer_interrupt()
173 static int armada_370_xp_timer_setup(struct clock_event_device *evt) in armada_370_xp_timer_setup() argument
184 evt->name = "armada_370_xp_per_cpu_tick", in armada_370_xp_timer_setup()
185 evt->features = CLOCK_EVT_FEAT_ONESHOT | in armada_370_xp_timer_setup()
187 evt->shift = 32, in armada_370_xp_timer_setup()
188 evt->rating = 300, in armada_370_xp_timer_setup()
189 evt->set_next_event = armada_370_xp_clkevt_next_event, in armada_370_xp_timer_setup()
190 evt->set_state_shutdown = armada_370_xp_clkevt_shutdown; in armada_370_xp_timer_setup()
191 evt->set_state_periodic = armada_370_xp_clkevt_set_periodic; in armada_370_xp_timer_setup()
192 evt->set_state_oneshot = armada_370_xp_clkevt_shutdown; in armada_370_xp_timer_setup()
193 evt->tick_resume = armada_370_xp_clkevt_shutdown; in armada_370_xp_timer_setup()
194 evt->irq = armada_370_xp_clkevt_irq; in armada_370_xp_timer_setup()
195 evt->cpumask = cpumask_of(cpu); in armada_370_xp_timer_setup()
197 clockevents_config_and_register(evt, timer_clk, 1, 0xfffffffe); in armada_370_xp_timer_setup()
198 enable_percpu_irq(evt->irq, 0); in armada_370_xp_timer_setup()
203 static void armada_370_xp_timer_stop(struct clock_event_device *evt) in armada_370_xp_timer_stop() argument
205 evt->set_state_shutdown(evt); in armada_370_xp_timer_stop()
206 disable_percpu_irq(evt->irq); in armada_370_xp_timer_stop()