Lines Matching refs:clkevt
104 struct clock_event_device clkevt; member
119 return container_of(evt, struct fttmr010, clkevt); in to_fttmr010()
387 "FTTMR010-TIMER1", &fttmr010->clkevt); in fttmr010_common_init()
393 fttmr010->clkevt.name = "FTTMR010-TIMER1"; in fttmr010_common_init()
395 fttmr010->clkevt.rating = 300; in fttmr010_common_init()
396 fttmr010->clkevt.features = CLOCK_EVT_FEAT_PERIODIC | in fttmr010_common_init()
398 fttmr010->clkevt.set_next_event = fttmr010_timer_set_next_event; in fttmr010_common_init()
399 fttmr010->clkevt.set_state_shutdown = fttmr010->timer_shutdown; in fttmr010_common_init()
400 fttmr010->clkevt.set_state_periodic = fttmr010_timer_set_periodic; in fttmr010_common_init()
401 fttmr010->clkevt.set_state_oneshot = fttmr010_timer_set_oneshot; in fttmr010_common_init()
402 fttmr010->clkevt.tick_resume = fttmr010->timer_shutdown; in fttmr010_common_init()
403 fttmr010->clkevt.cpumask = cpumask_of(0); in fttmr010_common_init()
404 fttmr010->clkevt.irq = irq; in fttmr010_common_init()
405 clockevents_config_and_register(&fttmr010->clkevt, in fttmr010_common_init()