Home
last modified time | relevance | path

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

/openbmc/linux/drivers/watchdog/
H A Dsama5d4_wdt.c90 wdt_write(wdt, AT91_WDT_MR, wdt->mr); in sama5d4_wdt_start()
105 wdt_write(wdt, AT91_WDT_MR, wdt->mr); in sama5d4_wdt_stop()
144 wdt_write(wdt, AT91_WDT_MR, wdt->mr & ~AT91_WDT_WDDIS); in sama5d4_wdt_set_timeout()
217 reg = wdt_read(wdt, AT91_WDT_MR); in sama5d4_wdt_init()
219 wdt_write_nosleep(wdt, AT91_WDT_MR, in sama5d4_wdt_init()
223 wdt_write_nosleep(wdt, AT91_WDT_MR, in sama5d4_wdt_init()
245 wdt_write_nosleep(wdt, AT91_WDT_MR, wdt->mr); in sama5d4_wdt_init()
308 reg = wdt_read(wdt, AT91_WDT_MR); in sama5d4_wdt_probe()
H A Dat91sam9_wdt.c163 tmp = wdt_read(wdt, AT91_WDT_MR); in at91_wdt_init()
166 wdt_write(wdt, AT91_WDT_MR, wdt->mr); in at91_wdt_init()
167 tmp = wdt_read(wdt, AT91_WDT_MR); in at91_wdt_init()
H A Dat91sam9_wdt.h24 #define AT91_WDT_MR 0x04 /* Watchdog Mode Register */ macro
/openbmc/u-boot/drivers/watchdog/
H A Dat91sam9_wdt.c57 if (readl(priv->regs + AT91_WDT_MR) & AT91_WDT_MR_WDDIS) { in at91_wdt_start()
74 writel(priv->regval, priv->regs + AT91_WDT_MR); in at91_wdt_start()
85 writel(priv->regval, priv->regs + AT91_WDT_MR); in at91_wdt_stop()
/openbmc/u-boot/arch/arm/mach-at91/include/mach/
H A Dat91_wdt.h36 #define AT91_WDT_MR 0X04 macro