Lines Matching defs:timer

40 	u8	gtcfr2;		/* Timer 3, timer 4 global config register */
80 * gtm_get_timer16 - request GTM timer to use it with the rest of GTM API
83 * This function reserves GTM timer for later use. It returns gtm_timer
84 * structure to use with the rest of GTM API, you should use timer->irq
85 * to manage timer interrupt.
113 * gtm_get_specific_timer16 - request specific GTM timer
115 * @timer: specific timer number, Timer1 is 0.
118 * This function reserves GTM timer for later use. It returns gtm_timer
119 * structure to use with the rest of GTM API, you should use timer->irq
120 * to manage timer interrupt.
123 unsigned int timer)
127 if (timer > 3)
132 if (gtm->timers[timer].requested)
135 ret = &gtm->timers[timer];
145 * gtm_put_timer16 - release 16 bits GTM timer
149 * This function releases GTM timer so others may request it.
163 * timer in reference mode.
231 * gtm_set_timer16 - (re)set 16 bit timer with arbitrary precision
233 * @usec: timer interval in microseconds
234 * @reload: if set, the timer will reset upon expiry rather than
238 * This function (re)sets the GTM timer so that it counts up to the requested
240 * function will reduce the precision of the timer as needed in order for the
263 * gtm_set_exact_timer16 - (re)set 16 bits timer
265 * @usec: timer interval in microseconds
266 * @reload: if set, the timer will reset upon expiry rather than
270 * This function (re)sets GTM timer so that it counts up to the requested
272 * flag was set, timer will also reset itself upon reference value, otherwise
277 * (single timer width).
288 * run the timer as is.
296 * gtm_stop_timer16 - stop single timer
300 * This function simply stops the GTM timer.
318 * gtm_ack_timer16 - acknowledge timer event (free-run timers only)
323 * Thus function used to acknowledge timer interrupt event, use it inside the
338 * so we have to provide shortcuts to write timer independent code.