Home
last modified time | relevance | path

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

/openbmc/linux/drivers/watchdog/
H A Dsama5d4_wdt.c51 #define wdt_enabled (!(wdt->mr & AT91_WDT_WDDIS))
88 wdt->mr &= ~AT91_WDT_WDDIS; in sama5d4_wdt_start()
103 wdt->mr |= AT91_WDT_WDDIS; in sama5d4_wdt_stop()
144 wdt_write(wdt, AT91_WDT_MR, wdt->mr & ~AT91_WDT_WDDIS); in sama5d4_wdt_set_timeout()
190 wdt->mr = AT91_WDT_WDDIS; in of_sama5d4_wdt_init()
222 (!(reg & AT91_WDT_WDDIS))) in sama5d4_wdt_init()
224 reg | AT91_WDT_WDDIS); in sama5d4_wdt_init()
309 if (!(reg & AT91_WDT_WDDIS)) { in sama5d4_wdt_probe()
310 wdt->mr &= ~AT91_WDT_WDDIS; in sama5d4_wdt_probe()
H A Dat91sam9_wdt.c171 if (tmp & AT91_WDT_WDDIS) { in at91_wdt_init()
172 if (wdt->mr & AT91_WDT_WDDIS) in at91_wdt_init()
306 wdt->mr |= AT91_WDT_WDDIS; in of_at91wdt_init()
307 wdt->mr_mask &= AT91_WDT_WDDIS; in of_at91wdt_init()
H A Dat91sam9_wdt.h33 #define AT91_WDT_WDDIS BIT(15) /* Watchdog Disable */ macro