blob: 7262a5717312860595ec25a46ab020b387fdfc6f [file] [log] [blame]
Julius Wernere3a000d2018-03-12 13:26:49 -07001/*
2 * Copyright (c) 2020, Google LLC. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef WDT_H
8#define WDT_H
9
10#include "stdint.h"
11
12void wdt_pet(void);
13void wdt_resume(void);
14void wdt_set_enable(int enable);
15int wdt_set_timeout(uint32_t timeout);
16uint64_t wdt_smc_handler(uint32_t x1, uint32_t x2, void *handle);
17void wdt_suspend(void);
18void wdt_trigger_reset(void);
19
20#endif /* WDT_H */