Lines Matching refs:ce

72 	struct clock_event_device *ce = dev_id;  in sirfsoc_timer_interrupt()  local
78 if (clockevent_state_oneshot(ce)) in sirfsoc_timer_interrupt()
81 ce->event_handler(ce); in sirfsoc_timer_interrupt()
101 struct clock_event_device *ce) in sirfsoc_timer_set_next_event() argument
176 struct clock_event_device *ce = per_cpu_ptr(sirfsoc_clockevent, cpu); in sirfsoc_local_timer_starting_cpu() local
184 ce->irq = action->irq; in sirfsoc_local_timer_starting_cpu()
185 ce->name = "local_timer"; in sirfsoc_local_timer_starting_cpu()
186 ce->features = CLOCK_EVT_FEAT_ONESHOT; in sirfsoc_local_timer_starting_cpu()
187 ce->rating = 200; in sirfsoc_local_timer_starting_cpu()
188 ce->set_state_shutdown = sirfsoc_timer_shutdown; in sirfsoc_local_timer_starting_cpu()
189 ce->set_state_oneshot = sirfsoc_timer_shutdown; in sirfsoc_local_timer_starting_cpu()
190 ce->tick_resume = sirfsoc_timer_shutdown; in sirfsoc_local_timer_starting_cpu()
191 ce->set_next_event = sirfsoc_timer_set_next_event; in sirfsoc_local_timer_starting_cpu()
192 clockevents_calc_mult_shift(ce, atlas7_timer_rate, 60); in sirfsoc_local_timer_starting_cpu()
193 ce->max_delta_ns = clockevent_delta2ns(-2, ce); in sirfsoc_local_timer_starting_cpu()
194 ce->max_delta_ticks = (unsigned long)-2; in sirfsoc_local_timer_starting_cpu()
195 ce->min_delta_ns = clockevent_delta2ns(2, ce); in sirfsoc_local_timer_starting_cpu()
196 ce->min_delta_ticks = 2; in sirfsoc_local_timer_starting_cpu()
197 ce->cpumask = cpumask_of(cpu); in sirfsoc_local_timer_starting_cpu()
199 action->dev_id = ce; in sirfsoc_local_timer_starting_cpu()
200 BUG_ON(setup_irq(ce->irq, action)); in sirfsoc_local_timer_starting_cpu()
203 clockevents_register_device(ce); in sirfsoc_local_timer_starting_cpu()