Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/arch/arm/cpu/arm926ejs/mxs/
H A Dtimer.c53 struct mxs_timrot_regs *timrot_regs = in timer_init() local
57 mxs_reset_block(&timrot_regs->hw_timrot_rotctrl_reg); in timer_init()
61 writel(0, &timrot_regs->hw_timrot_timcount0); in timer_init()
63 writel(0, &timrot_regs->hw_timrot_fixed_count0); in timer_init()
69 &timrot_regs->hw_timrot_timctrl0); in timer_init()
73 writel(TIMER_LOAD_VAL - 1, &timrot_regs->hw_timrot_timcount0); in timer_init()
75 writel(TIMER_LOAD_VAL, &timrot_regs->hw_timrot_fixed_count0); in timer_init()
83 struct mxs_timrot_regs *timrot_regs = in get_ticks() local
90 now = readl(&timrot_regs->hw_timrot_timcount0) >> in get_ticks()
93 now = readl(&timrot_regs->hw_timrot_running_count0); in get_ticks()