Lines Matching defs:cd
35 struct clock_event_device *cd;
39 cd = &per_cpu(constant_clockevent_device, cpu);
40 cd->event_handler(cd);
141 struct clock_event_device *cd;
150 cd = &per_cpu(constant_clockevent_device, cpu);
152 cd->name = "Constant";
153 cd->features = CLOCK_EVT_FEAT_ONESHOT | CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_PERCPU;
155 cd->irq = irq;
156 cd->rating = 320;
157 cd->cpumask = cpumask_of(cpu);
158 cd->set_state_oneshot = constant_set_state_oneshot;
159 cd->set_state_oneshot_stopped = constant_set_state_shutdown;
160 cd->set_state_periodic = constant_set_state_periodic;
161 cd->set_state_shutdown = constant_set_state_shutdown;
162 cd->set_next_event = constant_timer_next_event;
163 cd->event_handler = constant_event_handler;
165 clockevents_config_and_register(cd, const_clock_freq, min_delta, max_delta);