Lines Matching refs:wdog
24 static void imx_watchdog_expire_now(struct watchdog_regs *wdog, bool ext_reset) in imx_watchdog_expire_now() argument
34 writew(wcr, &wdog->wcr); in imx_watchdog_expire_now()
35 writew(wcr, &wdog->wcr); in imx_watchdog_expire_now()
36 writew(wcr, &wdog->wcr); in imx_watchdog_expire_now()
49 struct watchdog_regs *wdog = (struct watchdog_regs *)WDOG1_BASE_ADDR; in reset_cpu() local
51 imx_watchdog_expire_now(wdog, true); in reset_cpu()
56 static void imx_watchdog_reset(struct watchdog_regs *wdog) in imx_watchdog_reset() argument
59 writew(0x5555, &wdog->wsr); in imx_watchdog_reset()
60 writew(0xaaaa, &wdog->wsr); in imx_watchdog_reset()
64 static void imx_watchdog_init(struct watchdog_regs *wdog, bool ext_reset, in imx_watchdog_init() argument
90 writew(wcr, &wdog->wcr); in imx_watchdog_init()
91 imx_watchdog_reset(wdog); in imx_watchdog_init()
97 struct watchdog_regs *wdog = (struct watchdog_regs *)WDOG1_BASE_ADDR; in hw_watchdog_reset() local
99 imx_watchdog_reset(wdog); in hw_watchdog_reset()
104 struct watchdog_regs *wdog = (struct watchdog_regs *)WDOG1_BASE_ADDR; in hw_watchdog_init() local
106 imx_watchdog_init(wdog, true, CONFIG_WATCHDOG_TIMEOUT_MSECS); in hw_watchdog_init()