Home
last modified time | relevance | path

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

/arch/arm/plat-iop/
Dtime.c68 u32 tmr = IOP_TMR_PRIVILEGED | IOP_TMR_RATIO_1_1; in iop_set_next_event() local
71 write_tmr0(tmr & ~(IOP_TMR_EN | IOP_TMR_RELOAD)); in iop_set_next_event()
73 write_tmr0((tmr & ~IOP_TMR_RELOAD) | IOP_TMR_EN); in iop_set_next_event()
82 u32 tmr = read_tmr0(); in iop_set_periodic() local
84 write_tmr0(tmr & ~IOP_TMR_EN); in iop_set_periodic()
87 tmr |= (IOP_TMR_RELOAD | IOP_TMR_EN); in iop_set_periodic()
89 write_tmr0(tmr); in iop_set_periodic()
95 u32 tmr = read_tmr0(); in iop_set_oneshot() local
98 tmr &= ~(IOP_TMR_RELOAD | IOP_TMR_EN); in iop_set_oneshot()
99 write_tmr0(tmr); in iop_set_oneshot()
[all …]
/arch/powerpc/sysdev/
Dfsl_gtm.c155 void gtm_put_timer16(struct gtm_timer *tmr) in gtm_put_timer16() argument
157 gtm_stop_timer16(tmr); in gtm_put_timer16()
159 spin_lock_irq(&tmr->gtm->lock); in gtm_put_timer16()
160 tmr->requested = false; in gtm_put_timer16()
161 spin_unlock_irq(&tmr->gtm->lock); in gtm_put_timer16()
169 static int gtm_set_ref_timer16(struct gtm_timer *tmr, int frequency, in gtm_set_ref_timer16() argument
172 struct gtm *gtm = tmr->gtm; in gtm_set_ref_timer16()
173 int num = tmr - &gtm->timers[0]; in gtm_set_ref_timer16()
182 if (!tmr->gtpsr) in gtm_set_ref_timer16()
213 clrsetbits_8(tmr->gtcfr, ~(GTCFR_STP(num) | GTCFR_RST(num)), in gtm_set_ref_timer16()
[all …]
/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);
Dppc-opcode.h387 #define MTTMR(tmr, r) stringify_in_c(.long PPC_INST_MTTMR | \ argument
388 TMRN(tmr) | ___PPC_RS(r))
389 #define MFTMR(tmr, r) stringify_in_c(.long PPC_INST_MFTMR | \ argument
390 TMRN(tmr) | ___PPC_RT(r))
/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/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/powerpc/boot/dts/fsl/
Dbsc9131rdb.dtsi88 fsl,tmr-prsc = <2>;
89 fsl,tmr-add = <0xcccccccd>;
90 fsl,tmr-fiper1 = <999999995>;
91 fsl,tmr-fiper2 = <99990>;
Dbsc9132qds.dtsi95 fsl,tmr-prsc = <2>;
96 fsl,tmr-add = <0xcccccccd>;
97 fsl,tmr-fiper1 = <999999995>;
98 fsl,tmr-fiper2 = <99990>;
Dp1010rdb.dtsi194 fsl,tmr-prsc = <2>;
195 fsl,tmr-add = <0x80000016>;
196 fsl,tmr-fiper1 = <999999990>;
197 fsl,tmr-fiper2 = <99990>;
Dp2020rdb.dts231 fsl,tmr-prsc = <200>;
232 fsl,tmr-add = <0xCCCCCCCD>;
233 fsl,tmr-fiper1 = <0x3B9AC9FB>;
234 fsl,tmr-fiper2 = <0x0001869B>;
Dp1022ds.dtsi223 fsl,tmr-prsc = <2>;
224 fsl,tmr-add = <0xc01ebd3d>;
225 fsl,tmr-fiper1 = <999999995>;
226 fsl,tmr-fiper2 = <99990>;
Dp2020rdb-pc.dtsi219 fsl,tmr-prsc = <2>;
220 fsl,tmr-add = <0xaaaaaaab>;
221 fsl,tmr-fiper1 = <999999995>;
222 fsl,tmr-fiper2 = <99990>;
Dp1021rdb-pc.dtsi232 fsl,tmr-prsc = <2>;
233 fsl,tmr-add = <0x80000016>;
234 fsl,tmr-fiper1 = <999999990>;
235 fsl,tmr-fiper2 = <99990>;
Dp1020rdb-pd.dts233 fsl,tmr-prsc = <2>;
234 fsl,tmr-add = <0x80000016>;
235 fsl,tmr-fiper1 = <999999990>;
236 fsl,tmr-fiper2 = <99990>;
Dp2020ds.dtsi187 fsl,tmr-prsc = <200>;
188 fsl,tmr-add = <0xCCCCCCCD>;
189 fsl,tmr-fiper1 = <0x3B9AC9FB>;
190 fsl,tmr-fiper2 = <0x0001869B>;
Dp1025twr.dtsi146 fsl,tmr-prsc = <2>;
147 fsl,tmr-add = <0xc0000021>;
148 fsl,tmr-fiper1 = <999999990>;
149 fsl,tmr-fiper2 = <99990>;
Dmpc8572ds.dtsi197 fsl,tmr-prsc = <200>;
198 fsl,tmr-add = <0xAAAAAAAB>;
199 fsl,tmr-fiper1 = <0x3B9AC9FB>;
200 fsl,tmr-fiper2 = <0x3B9AC9FB>;
/arch/powerpc/boot/dts/
Dmpc8313erdb.dts185 fsl,tmr-prsc = <100>;
186 fsl,tmr-add = <0x999999A4>;
187 fsl,tmr-fiper1 = <0x3B9AC9F6>;
188 fsl,tmr-fiper2 = <0x00018696>;
/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.h263 } tmr [8]; member