Home
last modified time | relevance | path

Searched refs:tmr (Results 1 – 7 of 7) sorted by relevance

/arch/powerpc/sysdev/
Dfsl_gtm.c150 void gtm_put_timer16(struct gtm_timer *tmr) in gtm_put_timer16() argument
152 gtm_stop_timer16(tmr); in gtm_put_timer16()
154 spin_lock_irq(&tmr->gtm->lock); in gtm_put_timer16()
155 tmr->requested = false; in gtm_put_timer16()
156 spin_unlock_irq(&tmr->gtm->lock); in gtm_put_timer16()
164 static int gtm_set_ref_timer16(struct gtm_timer *tmr, int frequency, in gtm_set_ref_timer16() argument
167 struct gtm *gtm = tmr->gtm; in gtm_set_ref_timer16()
168 int num = tmr - &gtm->timers[0]; in gtm_set_ref_timer16()
177 if (!tmr->gtpsr) in gtm_set_ref_timer16()
208 clrsetbits_8(tmr->gtcfr, ~(GTCFR_STP(num) | GTCFR_RST(num)), in gtm_set_ref_timer16()
[all …]
/arch/arm/plat-s3c/include/plat/
Dregs-timer.h17 #define S3C_TIMERREG2(tmr,reg) S3C_TIMERREG((reg)+0x0c+((tmr)*0x0c)) argument
92 #define S3C2410_TCNTB(tmr) S3C_TIMERREG2(tmr, 0x00) argument
93 #define S3C2410_TCMPB(tmr) S3C_TIMERREG2(tmr, 0x04) argument
94 #define S3C2410_TCNTO(tmr) S3C_TIMERREG2(tmr, (((tmr) == 4) ? 0x04 : 0x08)) argument
/arch/powerpc/include/asm/
Dfsl_gtm.h39 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/cris/include/arch-v32/mach-a3/mach/hwregs/
Dtimer_defs.h122 unsigned int tmr : 24; member
129 unsigned int tmr : 24; member
149 unsigned int tmr : 2; member
161 unsigned int tmr : 2; member
/arch/cris/include/arch-v32/mach-fs/mach/hwregs/
Dtimer_defs.h125 unsigned int tmr : 24; member
132 unsigned int tmr : 24; member
152 unsigned int tmr : 2; member
164 unsigned int tmr : 2; member
/arch/cris/arch-v32/kernel/
Dfasttimer.c161 trig_cfg.tmr = regk_timer_time; in start_timer_trig()
177 trig_cfg.tmr = regk_timer_off; in start_timer_trig()
343 trig_cfg.tmr = regk_timer_off; in timer_trig_handler()
/arch/x86/include/asm/
Dapicdef.h247 } tmr [8]; member