Lines Matching refs:cd
76 struct clock_event_device cd; member
91 container_of(evt, struct txx9_clock_event_device, cd); in txx9tmr_set_state_periodic()
107 container_of(evt, struct txx9_clock_event_device, cd); in txx9tmr_set_state_oneshot()
118 container_of(evt, struct txx9_clock_event_device, cd); in txx9tmr_set_state_shutdown()
129 container_of(evt, struct txx9_clock_event_device, cd); in txx9tmr_tick_resume()
142 container_of(evt, struct txx9_clock_event_device, cd); in txx9tmr_set_next_event()
153 .cd = {
169 struct clock_event_device *cd = &txx9_cd->cd; in txx9tmr_interrupt() local
173 cd->event_handler(cd); in txx9tmr_interrupt()
187 struct clock_event_device *cd = &txx9_clock_event_device.cd; in txx9_clockevent_init() local
196 clockevent_set_clock(cd, TIMER_CLK(imbusclk)); in txx9_clockevent_init()
197 cd->max_delta_ns = in txx9_clockevent_init()
198 clockevent_delta2ns(0xffffffff >> (32 - TXX9_TIMER_BITS), cd); in txx9_clockevent_init()
199 cd->min_delta_ns = clockevent_delta2ns(0xf, cd); in txx9_clockevent_init()
200 cd->irq = irq; in txx9_clockevent_init()
201 cd->cpumask = cpumask_of(0), in txx9_clockevent_init()
202 clockevents_register_device(cd); in txx9_clockevent_init()