Home
last modified time | relevance | path

Searched refs:timer_regs (Results 1 – 6 of 6) sorted by relevance

/arch/cris/arch-v32/kernel/
Dtime.c60 unsigned long timer_regs[NR_CPUS] = variable
194 masked_intr = REG_RD(timer, timer_regs[cpu], r_masked_intr); in timer_interrupt()
200 REG_WR(timer, timer_regs[cpu], rw_ack_intr, ack_intr); in timer_interrupt()
241 REG_WR(timer, timer_regs[cpu], rw_tmr0_div, tmr0_div); in cris_timer_init()
242 REG_WR(timer, timer_regs[cpu], rw_tmr0_ctrl, tmr0_ctrl); /* Load */ in cris_timer_init()
244 REG_WR(timer, timer_regs[cpu], rw_tmr0_ctrl, tmr0_ctrl); /* Start */ in cris_timer_init()
247 timer_intr_mask = REG_RD(timer, timer_regs[cpu], rw_intr_mask); in cris_timer_init()
249 REG_WR(timer, timer_regs[cpu], rw_intr_mask, timer_intr_mask); in cris_timer_init()
310 data = REG_RD(timer, timer_regs[freqs->cpu], in cris_time_freq_notifier()
313 REG_WR(timer, timer_regs[freqs->cpu], rw_tmr0_div, div); in cris_time_freq_notifier()
/arch/blackfin/kernel/
Dgptimers.c32 static struct bfin_gptimer_regs * const timer_regs[MAX_BLACKFIN_GPTIMERS] = variable
131 bfin_write(&timer_regs[timer_id]->width, value); in set_gptimer_pwidth()
139 return bfin_read(&timer_regs[timer_id]->width); in get_gptimer_pwidth()
146 bfin_write(&timer_regs[timer_id]->period, period); in set_gptimer_period()
154 return bfin_read(&timer_regs[timer_id]->period); in get_gptimer_period()
161 return bfin_read(&timer_regs[timer_id]->counter); in get_gptimer_count()
169 bfin_write(&timer_regs[timer_id]->delay, delay); in set_gptimer_delay()
177 return bfin_read(&timer_regs[timer_id]->delay); in get_gptimer_delay()
292 bfin_write(&timer_regs[timer_id]->config, config); in set_gptimer_config()
300 return bfin_read(&timer_regs[timer_id]->config); in get_gptimer_config()
[all …]
/arch/c6x/platforms/
Dtimer64.c21 struct timer_regs { struct
35 static struct timer_regs __iomem *timer; argument
/arch/arm/plat-omap/include/plat/
Ddmtimer.h82 struct timer_regs { struct
117 struct timer_regs context; argument
/arch/cris/include/arch-v32/arch/hwregs/
DMakefile64 REGDESC += $(BASEDIR)/io/timer/rtl/timer_regs.r
143 timer_defs.h: $(BASEDIR)/io/timer/rtl/timer_regs.r
/arch/powerpc/sysdev/
Dmpic_timer.c53 struct timer_regs { struct
71 struct timer_regs __iomem *regs; argument