Lines Matching refs:cd
49 struct clock_event_device *cd) in au1x_rtcmatch2_set_next_event() argument
62 struct clock_event_device *cd = dev_id; in au1x_rtcmatch2_irq() local
63 cd->event_handler(cd); in au1x_rtcmatch2_irq()
84 struct clock_event_device *cd = &au1x_rtcmatch2_clockdev; in alchemy_time_init() local
126 cd->shift = 32; in alchemy_time_init()
127 cd->mult = div_sc(32768, NSEC_PER_SEC, cd->shift); in alchemy_time_init()
128 cd->max_delta_ns = clockevent_delta2ns(0xffffffff, cd); in alchemy_time_init()
129 cd->max_delta_ticks = 0xffffffff; in alchemy_time_init()
130 cd->min_delta_ns = clockevent_delta2ns(9, cd); in alchemy_time_init()
131 cd->min_delta_ticks = 9; /* ~0.28ms */ in alchemy_time_init()
132 clockevents_register_device(cd); in alchemy_time_init()