Lines Matching refs:cd
133 struct clock_event_device *cd; in c0_compare_interrupt() local
153 cd = &per_cpu(mips_clockevent_device, cpu); in c0_compare_interrupt()
154 cd->event_handler(cd); in c0_compare_interrupt()
258 struct clock_event_device *cd; in r4k_cpufreq_callback() local
270 cd = &per_cpu(mips_clockevent_device, cpu); in r4k_cpufreq_callback()
272 clockevents_update_freq(cd, rate); in r4k_cpufreq_callback()
297 struct clock_event_device *cd; in r4k_clockevent_init() local
306 cd = &per_cpu(mips_clockevent_device, cpu); in r4k_clockevent_init()
308 cd->name = "MIPS"; in r4k_clockevent_init()
309 cd->features = CLOCK_EVT_FEAT_ONESHOT | in r4k_clockevent_init()
315 cd->rating = 300; in r4k_clockevent_init()
316 cd->cpumask = cpumask_of(cpu); in r4k_clockevent_init()
317 cd->set_next_event = mips_next_event; in r4k_clockevent_init()
318 cd->event_handler = mips_event_handler; in r4k_clockevent_init()
320 clockevents_config_and_register(cd, mips_hpt_frequency, min_delta, 0x7fffffff); in r4k_clockevent_init()