Home
last modified time | relevance | path

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

/openbmc/u-boot/arch/arm/cpu/arm926ejs/mxs/
H A Dtimer.c52 struct mxs_timrot_regs *timrot_regs = in timer_init() local
56 mxs_reset_block(&timrot_regs->hw_timrot_rotctrl_reg); in timer_init()
60 writel(0, &timrot_regs->hw_timrot_timcount0); in timer_init()
62 writel(0, &timrot_regs->hw_timrot_fixed_count0); in timer_init()
68 &timrot_regs->hw_timrot_timctrl0); in timer_init()
72 writel(TIMER_LOAD_VAL - 1, &timrot_regs->hw_timrot_timcount0); in timer_init()
74 writel(TIMER_LOAD_VAL, &timrot_regs->hw_timrot_fixed_count0); in timer_init()
82 struct mxs_timrot_regs *timrot_regs = in get_ticks() local
89 now = readl(&timrot_regs->hw_timrot_timcount0) >> in get_ticks()
92 now = readl(&timrot_regs->hw_timrot_running_count0); in get_ticks()