Home
last modified time | relevance | path

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

/u-boot/arch/arm/cpu/arm926ejs/mxs/
A Dtimer.c56 struct mxs_timrot_regs *timrot_regs = in timer_init() local
60 mxs_reset_block(&timrot_regs->hw_timrot_rotctrl_reg); in timer_init()
64 writel(0, &timrot_regs->hw_timrot_timcount0); in timer_init()
66 writel(0, &timrot_regs->hw_timrot_fixed_count0); in timer_init()
72 &timrot_regs->hw_timrot_timctrl0); in timer_init()
76 writel(TIMER_LOAD_VAL - 1, &timrot_regs->hw_timrot_timcount0); in timer_init()
78 writel(TIMER_LOAD_VAL, &timrot_regs->hw_timrot_fixed_count0); in timer_init()
86 struct mxs_timrot_regs *timrot_regs = in get_ticks() local
93 now = readl(&timrot_regs->hw_timrot_timcount0) >> in get_ticks()
96 now = readl(&timrot_regs->hw_timrot_running_count0); in get_ticks()

Completed in 3 milliseconds