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()
175 struct clock_event_device *evt = per_cpu_ptr(armada_370_xp_evt, cpu); in armada_370_xp_timer_starting_cpu() local
184 evt->name = "armada_370_xp_per_cpu_tick"; in armada_370_xp_timer_starting_cpu()
185 evt->features = CLOCK_EVT_FEAT_ONESHOT | in armada_370_xp_timer_starting_cpu()
187 evt->shift = 32; in armada_370_xp_timer_starting_cpu()
188 evt->rating = 300; in armada_370_xp_timer_starting_cpu()
189 evt->set_next_event = armada_370_xp_clkevt_next_event; in armada_370_xp_timer_starting_cpu()
190 evt->set_state_shutdown = armada_370_xp_clkevt_shutdown; in armada_370_xp_timer_starting_cpu()
191 evt->set_state_periodic = armada_370_xp_clkevt_set_periodic; in armada_370_xp_timer_starting_cpu()
192 evt->set_state_oneshot = armada_370_xp_clkevt_shutdown; in armada_370_xp_timer_starting_cpu()
193 evt->tick_resume = armada_370_xp_clkevt_shutdown; in armada_370_xp_timer_starting_cpu()
194 evt->irq = armada_370_xp_clkevt_irq; in armada_370_xp_timer_starting_cpu()
195 evt->cpumask = cpumask_of(cpu); in armada_370_xp_timer_starting_cpu()
197 clockevents_config_and_register(evt, timer_clk, 1, 0xfffffffe); in armada_370_xp_timer_starting_cpu()
198 enable_percpu_irq(evt->irq, 0); in armada_370_xp_timer_starting_cpu()
205 struct clock_event_device *evt = per_cpu_ptr(armada_370_xp_evt, cpu); in armada_370_xp_timer_dying_cpu() local
207 evt->set_state_shutdown(evt); in armada_370_xp_timer_dying_cpu()
208 disable_percpu_irq(evt->irq); in armada_370_xp_timer_dying_cpu()