Lines Matching defs:timer
19 #include <timer.h>
26 * Implement a timer uclass to work with lib/time.c. The timer is usually
28 * the input clock frequency of the timer. The get_count() method is used
31 * tick, and no timer interrupt.
61 * It is possible that a timer device has a null ofnode
132 if (gd->timer)
143 /* Check for a chosen timer to be used for tick */
144 node = ofnode_get_chosen_node("tick-timer");
149 * If the timer is not marked to be bound before
161 /* Fall back to the first available timer */
168 gd->timer = dev;
175 UCLASS_DRIVER(timer) = {
177 .name = "timer",