blob: 99dbb6ad5a4b7c0964fff1363042b3391b0f75fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __SOC_CAVIUM_CN81XX_TIMER_H__
#define __SOC_CAVIUM_CN81XX_TIMER_H__
#include <stdint.h>
#include <types.h>
/* Watchdog functions */
void watchdog_set(const size_t index, unsigned int timeout_ms);
void watchdog_poke(const size_t index);
void watchdog_disable(const size_t index);
int watchdog_is_running(const size_t index);
/* Timer functions */
void soc_timer_init(void);
#endif /* __SOC_CAVIUM_CN81XX_TIMER_H__ */
|