1 /* SPDX-License-Identifier: Apache-2.0 */
2 /*
3  * Copyright (c) 2023 Intel Corporation
4  *
5  * Author: Adrian Warecki <adrian.warecki@intel.com>
6  */
7 
8 #ifndef ZEPHYR_SOC_INTEL_ADSP_WATCHDOG_H_
9 #define ZEPHYR_SOC_INTEL_ADSP_WATCHDOG_H_
10 
11 /**
12  * @brief Pause watchdog operation
13  *
14  * Sets the pause signal to stop the watchdog timing
15  *
16  * @param dev Pointer to the device structure
17  * @param channel_id Channel identifier
18  */
19 int intel_adsp_watchdog_pause(const struct device *dev, const int channel_id);
20 
21 /**
22  * @brief Resume watchdog operation
23  *
24  * Clears the pause signal to resume the watchdog timing
25  *
26  * @param dev Pointer to the device structure
27  * @param channel_id Channel identifier
28  */
29 int intel_adsp_watchdog_resume(const struct device *dev, const int channel_id);
30 
31 #endif /* ZEPHYR_SOC_INTEL_ADSP_WATCHDOG_H_ */
32