Lines Matching full:timer
38 u8 gtcfr1; /* Timer 1, Timer 2 global config register */
40 u8 gtcfr2; /* Timer 3, timer 4 global config register */
42 __be16 gtmdr1; /* Timer 1 mode register */
43 __be16 gtmdr2; /* Timer 2 mode register */
44 __be16 gtrfr1; /* Timer 1 reference register */
45 __be16 gtrfr2; /* Timer 2 reference register */
46 __be16 gtcpr1; /* Timer 1 capture register */
47 __be16 gtcpr2; /* Timer 2 capture register */
48 __be16 gtcnr1; /* Timer 1 counter */
49 __be16 gtcnr2; /* Timer 2 counter */
50 __be16 gtmdr3; /* Timer 3 mode register */
51 __be16 gtmdr4; /* Timer 4 mode register */
52 __be16 gtrfr3; /* Timer 3 reference register */
53 __be16 gtrfr4; /* Timer 4 reference register */
54 __be16 gtcpr3; /* Timer 3 capture register */
55 __be16 gtcpr4; /* Timer 4 capture register */
56 __be16 gtcnr3; /* Timer 3 counter */
57 __be16 gtcnr4; /* Timer 4 counter */
58 __be16 gtevr1; /* Timer 1 event register */
59 __be16 gtevr2; /* Timer 2 event register */
60 __be16 gtevr3; /* Timer 3 event register */
61 __be16 gtevr4; /* Timer 4 event register */
62 __be16 gtpsr1; /* Timer 1 prescale register */
63 __be16 gtpsr2; /* Timer 2 prescale register */
64 __be16 gtpsr3; /* Timer 3 prescale register */
65 __be16 gtpsr4; /* Timer 4 prescale register */
80 * gtm_get_timer - 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_timer - 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) in gtm_get_specific_timer16() argument
127 if (timer > 3) in gtm_get_specific_timer16()
132 if (gtm->timers[timer].requested) in gtm_get_specific_timer16()
135 ret = >m->timers[timer]; in gtm_get_specific_timer16()
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_utimer16 - (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. in gtm_set_exact_timer16()
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. in gtm_set_shortcuts()