Searched refs:gtm_timer (Results 1 – 2 of 2) sorted by relevance
/arch/powerpc/include/asm/ |
D | fsl_gtm.h | 23 struct gtm_timer { struct 36 extern struct gtm_timer *gtm_get_timer16(void); argument 37 extern struct gtm_timer *gtm_get_specific_timer16(struct gtm *gtm, 39 extern void gtm_put_timer16(struct gtm_timer *tmr); 40 extern int gtm_set_timer16(struct gtm_timer *tmr, unsigned long usec, 42 extern int gtm_set_exact_timer16(struct gtm_timer *tmr, u16 usec, 44 extern void gtm_stop_timer16(struct gtm_timer *tmr); 45 extern void gtm_ack_timer16(struct gtm_timer *tmr, u16 events);
|
/arch/powerpc/sysdev/ |
D | fsl_gtm.c | 71 struct gtm_timer timers[4]; 86 struct gtm_timer *gtm_get_timer16(void) in gtm_get_timer16() 121 struct gtm_timer *gtm_get_specific_timer16(struct gtm *gtm, in gtm_get_specific_timer16() 124 struct gtm_timer *ret = ERR_PTR(-EBUSY); in gtm_get_specific_timer16() 150 void gtm_put_timer16(struct gtm_timer *tmr) in gtm_put_timer16() 164 static int gtm_set_ref_timer16(struct gtm_timer *tmr, int frequency, in gtm_set_ref_timer16() 242 int gtm_set_timer16(struct gtm_timer *tmr, unsigned long usec, bool reload) in gtm_set_timer16() 278 int gtm_set_exact_timer16(struct gtm_timer *tmr, u16 usec, bool reload) in gtm_set_exact_timer16() 301 void gtm_stop_timer16(struct gtm_timer *tmr) in gtm_stop_timer16() 325 void gtm_ack_timer16(struct gtm_timer *tmr, u16 events) in gtm_ack_timer16() [all …]
|