Lines Matching refs:wtcon
119 unsigned long wtcon;
121 wtcon = readl(wdt_base + S3C2410_WTCON);
122 wtcon &= ~(S3C2410_WTCON_ENABLE | S3C2410_WTCON_RSTEN);
123 writel(wtcon, wdt_base + S3C2410_WTCON);
130 unsigned long wtcon;
134 wtcon = readl(wdt_base + S3C2410_WTCON);
135 wtcon |= S3C2410_WTCON_ENABLE | S3C2410_WTCON_DIV128;
138 wtcon |= S3C2410_WTCON_INTEN;
139 wtcon &= ~S3C2410_WTCON_RSTEN;
141 wtcon &= ~S3C2410_WTCON_INTEN;
142 wtcon |= S3C2410_WTCON_RSTEN;
145 DBG("%s: wdt_count=0x%08x, wtcon=%08lx\n",
146 __FUNCTION__, wdt_count, wtcon);
150 writel(wtcon, wdt_base + S3C2410_WTCON);
160 unsigned long wtcon;
197 wtcon = readl(wdt_base + S3C2410_WTCON);
198 wtcon &= ~S3C2410_WTCON_PRESCALE_MASK;
199 wtcon |= S3C2410_WTCON_PRESCALE(divisor-1);
202 writel(wtcon, wdt_base + S3C2410_WTCON);