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()
262 struct clock_event_device *cd; in r4k_cpufreq_callback() local
274 cd = &per_cpu(mips_clockevent_device, cpu); in r4k_cpufreq_callback()
276 clockevents_update_freq(cd, rate); in r4k_cpufreq_callback()
301 struct clock_event_device *cd; in r4k_clockevent_init() local
317 cd = &per_cpu(mips_clockevent_device, cpu); in r4k_clockevent_init()
319 cd->name = "MIPS"; in r4k_clockevent_init()
320 cd->features = CLOCK_EVT_FEAT_ONESHOT | in r4k_clockevent_init()
326 cd->rating = 300; in r4k_clockevent_init()
327 cd->irq = irq; in r4k_clockevent_init()
328 cd->cpumask = cpumask_of(cpu); in r4k_clockevent_init()
329 cd->set_next_event = mips_next_event; in r4k_clockevent_init()
330 cd->event_handler = mips_event_handler; in r4k_clockevent_init()
332 clockevents_config_and_register(cd, mips_hpt_frequency, min_delta, 0x7fffffff); in r4k_clockevent_init()