Source
x
.clkevt = {
.name = "atcpit100_tick",
.rating = 300,
.features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT,
.set_state_shutdown = atcpit100_clkevt_shutdown,
.set_state_periodic = atcpit100_clkevt_set_periodic,
.set_state_oneshot = atcpit100_clkevt_set_oneshot,
.tick_resume = atcpit100_clkevt_shutdown,
.set_next_event = atcpit100_clkevt_next_event,
.cpumask = cpu_all_mask,
.cpumask = cpu_possible_mask,
},
.of_irq = {
.handler = atcpit100_timer_interrupt,
.flags = IRQF_TIMER | IRQF_IRQPOLL,
},
/*
* FIXME: we currently only support clocking using PCLK
* and using EXTCLK is not supported in the driver.