Lines Matching refs:evt

123 static int armada_370_xp_clkevt_shutdown(struct clock_event_device *evt)  in armada_370_xp_clkevt_shutdown()  argument
137 static int armada_370_xp_clkevt_set_periodic(struct clock_event_device *evt) in armada_370_xp_clkevt_set_periodic() argument
159 struct clock_event_device *evt = dev_id; in armada_370_xp_timer_interrupt() local
162 evt->event_handler(evt); in armada_370_xp_timer_interrupt()
172 struct clock_event_device *evt = per_cpu_ptr(armada_370_xp_evt, cpu); in armada_370_xp_timer_starting_cpu() local
181 evt->name = "armada_370_xp_per_cpu_tick"; in armada_370_xp_timer_starting_cpu()
182 evt->features = CLOCK_EVT_FEAT_ONESHOT | in armada_370_xp_timer_starting_cpu()
184 evt->shift = 32; in armada_370_xp_timer_starting_cpu()
185 evt->rating = 300; in armada_370_xp_timer_starting_cpu()
186 evt->set_next_event = armada_370_xp_clkevt_next_event; in armada_370_xp_timer_starting_cpu()
187 evt->set_state_shutdown = armada_370_xp_clkevt_shutdown; in armada_370_xp_timer_starting_cpu()
188 evt->set_state_periodic = armada_370_xp_clkevt_set_periodic; in armada_370_xp_timer_starting_cpu()
189 evt->set_state_oneshot = armada_370_xp_clkevt_shutdown; in armada_370_xp_timer_starting_cpu()
190 evt->tick_resume = armada_370_xp_clkevt_shutdown; in armada_370_xp_timer_starting_cpu()
191 evt->irq = armada_370_xp_clkevt_irq; in armada_370_xp_timer_starting_cpu()
192 evt->cpumask = cpumask_of(cpu); in armada_370_xp_timer_starting_cpu()
194 clockevents_config_and_register(evt, timer_clk, 1, 0xfffffffe); in armada_370_xp_timer_starting_cpu()
195 enable_percpu_irq(evt->irq, 0); in armada_370_xp_timer_starting_cpu()
202 struct clock_event_device *evt = per_cpu_ptr(armada_370_xp_evt, cpu); in armada_370_xp_timer_dying_cpu() local
204 evt->set_state_shutdown(evt); in armada_370_xp_timer_dying_cpu()
205 disable_percpu_irq(evt->irq); in armada_370_xp_timer_dying_cpu()