Lines Matching refs:cd
93 struct clock_event_device *cd; in clock_comparator_work() local
96 cd = this_cpu_ptr(&comparators); in clock_comparator_work()
97 cd->event_handler(cd); in clock_comparator_work()
131 struct clock_event_device *cd; in init_cpu_timer() local
138 cd = &per_cpu(comparators, cpu); in init_cpu_timer()
139 cd->name = "comparator"; in init_cpu_timer()
140 cd->features = CLOCK_EVT_FEAT_ONESHOT; in init_cpu_timer()
141 cd->mult = 16777; in init_cpu_timer()
142 cd->shift = 12; in init_cpu_timer()
143 cd->min_delta_ns = 1; in init_cpu_timer()
144 cd->max_delta_ns = LONG_MAX; in init_cpu_timer()
145 cd->rating = 400; in init_cpu_timer()
146 cd->cpumask = cpumask_of(cpu); in init_cpu_timer()
147 cd->set_next_event = s390_next_event; in init_cpu_timer()
148 cd->set_mode = s390_set_mode; in init_cpu_timer()
150 clockevents_register_device(cd); in init_cpu_timer()