Lines Matching refs:cd
76 struct clock_event_device cd; member
92 container_of(evt, struct txx9_clock_event_device, cd); in txx9tmr_set_mode()
124 container_of(evt, struct txx9_clock_event_device, cd); in txx9tmr_set_next_event()
135 .cd = {
148 struct clock_event_device *cd = &txx9_cd->cd; in txx9tmr_interrupt() local
152 cd->event_handler(cd); in txx9tmr_interrupt()
166 struct clock_event_device *cd = &txx9_clock_event_device.cd; in txx9_clockevent_init() local
175 clockevent_set_clock(cd, TIMER_CLK(imbusclk)); in txx9_clockevent_init()
176 cd->max_delta_ns = in txx9_clockevent_init()
177 clockevent_delta2ns(0xffffffff >> (32 - TXX9_TIMER_BITS), cd); in txx9_clockevent_init()
178 cd->min_delta_ns = clockevent_delta2ns(0xf, cd); in txx9_clockevent_init()
179 cd->irq = irq; in txx9_clockevent_init()
180 cd->cpumask = cpumask_of(0), in txx9_clockevent_init()
181 clockevents_register_device(cd); in txx9_clockevent_init()