Lines Matching refs:armd1timers
55 struct armd1tmr_registers *armd1timers = in read_timer() local
59 writel(COUNT_RD_REQ, &armd1timers->cvwr); in read_timer()
61 return(readl(&armd1timers->cvwr)); in read_timer()
104 struct armd1tmr_registers *armd1timers = in timer_init() local
111 writel(0x0, &armd1timers->clk_ctrl); in timer_init()
113 writel(TIMER_LOAD_VAL, &armd1timers->match[MATCH_CMP(0)]); in timer_init()
115 writel(0x0, &armd1timers->preload[TIMER]); in timer_init()
117 writel(0x1, &armd1timers->preload_ctrl[TIMER]); in timer_init()
120 writel(0x1, &armd1timers->cer); in timer_init()
144 struct armd1tmr_registers *armd1timers = in reset_cpu() local
160 writel(TMR_WFAR, &armd1timers->wfar); in reset_cpu()
161 writel(TMP_WSAR, &armd1timers->wsar); in reset_cpu()
162 writel(0, &armd1timers->wdt_sts); in reset_cpu()
165 writel(TMR_WFAR, &armd1timers->wfar); in reset_cpu()
166 writel(TMP_WSAR, &armd1timers->wsar); in reset_cpu()
167 writel(0xf, &armd1timers->wdt_match_r); in reset_cpu()
170 writel(TMR_WFAR, &armd1timers->wfar); in reset_cpu()
171 writel(TMP_WSAR, &armd1timers->wsar); in reset_cpu()
172 writel(0x3, &armd1timers->wdt_match_en); in reset_cpu()