Lines Matching +full:local +full:- +full:timer +full:- +full:stop

47  * We use the peripheral timers for system tick, the cpu global timer for
75 * Read 64-bit free running counter in kona_timer_get_counter()
76 * 1. Read hi-word in kona_timer_get_counter()
77 * 2. Read low-word in kona_timer_get_counter()
78 * 3. Read hi-word again in kona_timer_get_counter()
80 * if new hi-word is not equal to previously read hi-word, then in kona_timer_get_counter()
83 * if new hi-word is equal to previously read hi-word then stop. in kona_timer_get_counter()
91 } while (--loop_limit); in kona_timer_get_counter()
94 pr_err(" Timer will be impacted\n"); in kona_timer_get_counter()
95 return -ETIMEDOUT; in kona_timer_get_counter()
105 * timer (0) is disabled by the timer interrupt already in kona_timer_set_next_event()
106 * so, here we reload the next event value and re-enable in kona_timer_set_next_event()
107 * the timer. in kona_timer_set_next_event()
110 * timer-interrupt->set_next_event. CPU local timers, when in kona_timer_set_next_event()
140 .name = "timer 1",
159 evt->event_handler(evt); in kona_timer_interrupt()
173 } else if (!of_property_read_u32(node, "clock-frequency", &freq)) { in kona_timer_init()
176 pr_err("Kona Timer v1 unable to determine clock-frequency\n"); in kona_timer_init()
177 return -EINVAL; in kona_timer_init()
190 "Kona Timer Tick", NULL)) in kona_timer_init()
191 pr_err("%s: request_irq() failed\n", "Kona Timer Tick"); in kona_timer_init()
197 TIMER_OF_DECLARE(brcm_kona, "brcm,kona-timer", kona_timer_init);
199 * bcm,kona-timer is deprecated by brcm,kona-timer
202 TIMER_OF_DECLARE(bcm_kona, "bcm,kona-timer", kona_timer_init);