Home
last modified time | relevance | path

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

/arch/cris/arch-v32/kernel/
Dtime.c61 unsigned long timer_regs[NR_CPUS] = variable
196 masked_intr = REG_RD(timer, timer_regs[cpu], r_masked_intr); in timer_interrupt()
202 REG_WR(timer, timer_regs[cpu], rw_ack_intr, ack_intr); in timer_interrupt()
245 REG_WR(timer, timer_regs[cpu], rw_tmr0_div, tmr0_div); in cris_timer_init()
246 REG_WR(timer, timer_regs[cpu], rw_tmr0_ctrl, tmr0_ctrl); /* Load */ in cris_timer_init()
248 REG_WR(timer, timer_regs[cpu], rw_tmr0_ctrl, tmr0_ctrl); /* Start */ in cris_timer_init()
251 timer_intr_mask = REG_RD(timer, timer_regs[cpu], rw_intr_mask); in cris_timer_init()
253 REG_WR(timer, timer_regs[cpu], rw_intr_mask, timer_intr_mask); in cris_timer_init()
319 data = REG_RD(timer, timer_regs[freqs->cpu], in cris_time_freq_notifier()
322 REG_WR(timer, timer_regs[freqs->cpu], rw_tmr0_div, div); in cris_time_freq_notifier()
/arch/blackfin/kernel/
Dgptimers.c28 static struct bfin_gptimer_regs * const timer_regs[MAX_BLACKFIN_GPTIMERS] = variable
127 bfin_write(&timer_regs[timer_id]->width, value); in set_gptimer_pwidth()
135 return bfin_read(&timer_regs[timer_id]->width); in get_gptimer_pwidth()
142 bfin_write(&timer_regs[timer_id]->period, period); in set_gptimer_period()
150 return bfin_read(&timer_regs[timer_id]->period); in get_gptimer_period()
157 return bfin_read(&timer_regs[timer_id]->counter); in get_gptimer_count()
219 bfin_write(&timer_regs[timer_id]->config, config); in set_gptimer_config()
227 return bfin_read(&timer_regs[timer_id]->config); in get_gptimer_config()
275 bfin_write_or(&timer_regs[timer_id]->config, TIMER_PULSE_HI); in set_gptimer_pulse_hi()
283 bfin_write_and(&timer_regs[timer_id]->config, ~TIMER_PULSE_HI); in clear_gptimer_pulse_hi()
/arch/c6x/platforms/
Dtimer64.c21 struct timer_regs { struct
35 static struct timer_regs __iomem *timer; argument
/arch/arm/plat-omap/include/plat/
Ddmtimer.h76 struct timer_regs { struct
275 struct timer_regs context;
/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