Lines Matching defs:timer
31 * Reset the timer if the reset control is available, wiping
54 timer_clk = of_clk_get_by_name(np, "timer");
94 panic("No IRQ for clock event timer");
133 * timer is found. sched_io_base then points to the current_value
134 * register of the clocksource timer.
178 static int __init dw_apb_timer_init(struct device_node *timer)
184 pr_debug("%s: found clocksource timer\n", __func__);
185 ret = add_clocksource(timer);
195 pr_debug("%s: found clockevent timer\n", __func__);
196 ret = add_clockevent(timer);
206 TIMER_OF_DECLARE(pc3x2_timer, "picochip,pc3x2-timer", dw_apb_timer_init);
207 TIMER_OF_DECLARE(apb_timer_osc, "snps,dw-apb-timer-osc", dw_apb_timer_init);
208 TIMER_OF_DECLARE(apb_timer_sp, "snps,dw-apb-timer-sp", dw_apb_timer_init);
209 TIMER_OF_DECLARE(apb_timer, "snps,dw-apb-timer", dw_apb_timer_init);