Lines Matching refs:mr
88 u32 mr; member
165 if ((tmp & mask) != (wdt->mr & mask)) { in at91_wdt_init()
167 wdt_write(wdt, AT91_WDT_MR, wdt->mr); in at91_wdt_init()
173 if (wdt->mr & AT91_WDT_WDDIS) in at91_wdt_init()
217 if ((tmp & wdt->mr_mask) != (wdt->mr & wdt->mr_mask)) in at91_wdt_init()
220 tmp & wdt->mr_mask, wdt->mr & wdt->mr_mask); in at91_wdt_init()
293 wdt->mr = 0; in of_at91wdt_init()
296 wdt->mr |= AT91_WDT_WDFIEN; in of_at91wdt_init()
299 wdt->mr |= AT91_WDT_WDRSTEN; in of_at91wdt_init()
304 wdt->mr |= AT91_WDT_WDRPROC; in of_at91wdt_init()
307 wdt->mr |= AT91_WDT_WDDIS; in of_at91wdt_init()
312 wdt->mr |= AT91_WDT_WDIDLEHLT; in of_at91wdt_init()
315 wdt->mr |= AT91_WDT_WDDBGHLT; in of_at91wdt_init()
317 wdt->mr |= max | ((max - min) << 16); in of_at91wdt_init()
338 wdt->mr = (WDT_HW_TIMEOUT * 256) | AT91_WDT_WDRSTEN | AT91_WDT_WDD | in at91wdt_probe()