Lines Matching defs:cd
76 struct clock_event_device cd;
91 container_of(evt, struct txx9_clock_event_device, cd);
107 container_of(evt, struct txx9_clock_event_device, cd);
118 container_of(evt, struct txx9_clock_event_device, cd);
129 container_of(evt, struct txx9_clock_event_device, cd);
142 container_of(evt, struct txx9_clock_event_device, cd);
153 .cd = {
169 struct clock_event_device *cd = &txx9_cd->cd;
173 cd->event_handler(cd);
180 struct clock_event_device *cd = &txx9_clock_event_device.cd;
189 clockevent_set_clock(cd, TIMER_CLK(imbusclk));
190 cd->max_delta_ns =
191 clockevent_delta2ns(0xffffffff >> (32 - TXX9_TIMER_BITS), cd);
192 cd->max_delta_ticks = 0xffffffff >> (32 - TXX9_TIMER_BITS);
193 cd->min_delta_ns = clockevent_delta2ns(0xf, cd);
194 cd->min_delta_ticks = 0xf;
195 cd->irq = irq;
196 cd->cpumask = cpumask_of(0);
197 clockevents_register_device(cd);