1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * (C) Copyright 2014
4  * Chen-Yu Tsai <wens@csie.org>
5  *
6  * Watchdog register definitions
7  */
8 
9 #ifndef _SUNXI_HAL_WATCHDOG_H_
10 #define _SUNXI_HAL_WATCHDOG_H_
11 
12 #include "sunxi_hal_common.h"
13 
14 void hal_watchdog_disable(void);
15 void hal_watchdog_reset(int timeout);
16 void hal_watchdog_restart(void);
17 void hal_watchdog_info(void);
18 void hal_watchdog_init(void);
19 void hal_watchdog_stop(int timeout);
20 void hal_watchdog_start(int timeout);
21 void hal_watchdog_feed(void);
22 int hal_watchdog_suspend(int timeout);
23 int hal_watchdog_resume(int timeout);
24 int hal_watchdog_is_running(void);
25 #endif /* _SUNXI_HAL_WATCHDOG_H_ */
26