Lines Matching refs:cd
125 struct clock_event_device *cd; in clock_comparator_work() local
128 cd = this_cpu_ptr(&comparators); in clock_comparator_work()
129 cd->event_handler(cd); in clock_comparator_work()
146 struct clock_event_device *cd; in init_cpu_timer() local
153 cd = &per_cpu(comparators, cpu); in init_cpu_timer()
154 cd->name = "comparator"; in init_cpu_timer()
155 cd->features = CLOCK_EVT_FEAT_ONESHOT; in init_cpu_timer()
156 cd->mult = 16777; in init_cpu_timer()
157 cd->shift = 12; in init_cpu_timer()
158 cd->min_delta_ns = 1; in init_cpu_timer()
159 cd->min_delta_ticks = 1; in init_cpu_timer()
160 cd->max_delta_ns = LONG_MAX; in init_cpu_timer()
161 cd->max_delta_ticks = ULONG_MAX; in init_cpu_timer()
162 cd->rating = 400; in init_cpu_timer()
163 cd->cpumask = cpumask_of(cpu); in init_cpu_timer()
164 cd->set_next_event = s390_next_event; in init_cpu_timer()
166 clockevents_register_device(cd); in init_cpu_timer()