Lines Matching refs:ce
62 struct clock_event_device *ce; in hv_stimer0_isr() local
64 ce = this_cpu_ptr(hv_clock_event); in hv_stimer0_isr()
65 ce->event_handler(ce); in hv_stimer0_isr()
133 struct clock_event_device *ce; in hv_stimer_init() local
138 ce = per_cpu_ptr(hv_clock_event, cpu); in hv_stimer_init()
139 ce->name = "Hyper-V clockevent"; in hv_stimer_init()
140 ce->features = CLOCK_EVT_FEAT_ONESHOT; in hv_stimer_init()
141 ce->cpumask = cpumask_of(cpu); in hv_stimer_init()
153 ce->rating = 90; in hv_stimer_init()
155 ce->rating = 1000; in hv_stimer_init()
157 ce->set_state_shutdown = hv_ce_shutdown; in hv_stimer_init()
158 ce->set_state_oneshot = hv_ce_set_oneshot; in hv_stimer_init()
159 ce->set_next_event = hv_ce_set_next_event; in hv_stimer_init()
161 clockevents_config_and_register(ce, in hv_stimer_init()
173 struct clock_event_device *ce; in hv_stimer_cleanup() local
192 ce = per_cpu_ptr(hv_clock_event, cpu); in hv_stimer_cleanup()
194 hv_ce_shutdown(ce); in hv_stimer_cleanup()
196 clockevents_unbind_device(ce, cpu); in hv_stimer_cleanup()