Lines Matching refs:ce
47 struct clock_event_device *ce; in hv_stimer0_isr() local
49 ce = this_cpu_ptr(hv_clock_event); in hv_stimer0_isr()
50 ce->event_handler(ce); in hv_stimer0_isr()
107 struct clock_event_device *ce; in hv_stimer_init() local
117 ce = per_cpu_ptr(hv_clock_event, cpu); in hv_stimer_init()
118 ce->name = "Hyper-V clockevent"; in hv_stimer_init()
119 ce->features = CLOCK_EVT_FEAT_ONESHOT; in hv_stimer_init()
120 ce->cpumask = cpumask_of(cpu); in hv_stimer_init()
121 ce->rating = 1000; in hv_stimer_init()
122 ce->set_state_shutdown = hv_ce_shutdown; in hv_stimer_init()
123 ce->set_state_oneshot = hv_ce_set_oneshot; in hv_stimer_init()
124 ce->set_next_event = hv_ce_set_next_event; in hv_stimer_init()
126 clockevents_config_and_register(ce, in hv_stimer_init()
138 struct clock_event_device *ce; in hv_stimer_cleanup() local
142 ce = per_cpu_ptr(hv_clock_event, cpu); in hv_stimer_cleanup()
143 hv_ce_shutdown(ce); in hv_stimer_cleanup()
193 struct clock_event_device *ce; in hv_stimer_global_cleanup() local
197 ce = per_cpu_ptr(hv_clock_event, cpu); in hv_stimer_global_cleanup()
198 clockevents_unbind_device(ce, cpu); in hv_stimer_global_cleanup()