Lines Matching refs:evt

39 	struct clock_event_device *evt = dev_id;  in msm_timer_interrupt()  local
41 if (clockevent_state_oneshot(evt)) { in msm_timer_interrupt()
46 evt->event_handler(evt); in msm_timer_interrupt()
51 struct clock_event_device *evt) in msm_timer_set_next_event() argument
69 static int msm_timer_shutdown(struct clock_event_device *evt) in msm_timer_shutdown() argument
101 struct clock_event_device *evt = per_cpu_ptr(msm_evt, cpu); in msm_local_timer_starting_cpu() local
104 evt->irq = msm_timer_irq; in msm_local_timer_starting_cpu()
105 evt->name = "msm_timer"; in msm_local_timer_starting_cpu()
106 evt->features = CLOCK_EVT_FEAT_ONESHOT; in msm_local_timer_starting_cpu()
107 evt->rating = 200; in msm_local_timer_starting_cpu()
108 evt->set_state_shutdown = msm_timer_shutdown; in msm_local_timer_starting_cpu()
109 evt->set_state_oneshot = msm_timer_shutdown; in msm_local_timer_starting_cpu()
110 evt->tick_resume = msm_timer_shutdown; in msm_local_timer_starting_cpu()
111 evt->set_next_event = msm_timer_set_next_event; in msm_local_timer_starting_cpu()
112 evt->cpumask = cpumask_of(cpu); in msm_local_timer_starting_cpu()
114 clockevents_config_and_register(evt, GPT_HZ, 4, 0xffffffff); in msm_local_timer_starting_cpu()
117 enable_percpu_irq(evt->irq, IRQ_TYPE_EDGE_RISING); in msm_local_timer_starting_cpu()
119 err = request_irq(evt->irq, msm_timer_interrupt, in msm_local_timer_starting_cpu()
121 IRQF_TRIGGER_RISING, "gp_timer", evt); in msm_local_timer_starting_cpu()
131 struct clock_event_device *evt = per_cpu_ptr(msm_evt, cpu); in msm_local_timer_dying_cpu() local
133 evt->set_state_shutdown(evt); in msm_local_timer_dying_cpu()
134 disable_percpu_irq(evt->irq); in msm_local_timer_dying_cpu()