sunxi_hal_watchdog.h 649 B

12345678910111213141516171819202122232425
  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. #ifndef _SUNXI_HAL_WATCHDOG_H_
  9. #define _SUNXI_HAL_WATCHDOG_H_
  10. #include "sunxi_hal_common.h"
  11. void hal_watchdog_disable(void);
  12. void hal_watchdog_reset(int timeout);
  13. void hal_watchdog_restart(void);
  14. void hal_watchdog_info(void);
  15. void hal_watchdog_init(void);
  16. void hal_watchdog_stop(int timeout);
  17. void hal_watchdog_start(int timeout);
  18. void hal_watchdog_feed(void);
  19. int hal_watchdog_suspend(int timeout);
  20. int hal_watchdog_resume(int timeout);
  21. int hal_watchdog_is_running(void);
  22. #endif /* _SUNXI_HAL_WATCHDOG_H_ */