Lines Matching defs:timer
30 * Reset the timer if the reset control is available, wiping
49 timer_clk = of_clk_get_by_name(np, "timer");
72 panic("No IRQ for clock event timer");
104 * timer is found. sched_io_base then points to the current_value
105 * register of the clocksource timer.
147 static int __init dw_apb_timer_init(struct device_node *timer)
151 pr_debug("%s: found clocksource timer\n", __func__);
152 add_clocksource(timer);
160 pr_debug("%s: found clockevent timer\n", __func__);
161 add_clockevent(timer);
169 TIMER_OF_DECLARE(pc3x2_timer, "picochip,pc3x2-timer", dw_apb_timer_init);
170 TIMER_OF_DECLARE(apb_timer_osc, "snps,dw-apb-timer-osc", dw_apb_timer_init);
171 TIMER_OF_DECLARE(apb_timer_sp, "snps,dw-apb-timer-sp", dw_apb_timer_init);
172 TIMER_OF_DECLARE(apb_timer, "snps,dw-apb-timer", dw_apb_timer_init);