linux/include/uapi/linux/watchdog.h

/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
/*
 *	Generic watchdog defines. Derived from..
 *
 * Berkshire PC Watchdog Defines
 * by Ken Hollis <[email protected]>
 *
 */

#ifndef _UAPI_LINUX_WATCHDOG_H
#define _UAPI_LINUX_WATCHDOG_H

#include <linux/ioctl.h>
#include <linux/types.h>

#define WATCHDOG_IOCTL_BASE

struct watchdog_info {};

#define WDIOC_GETSUPPORT
#define WDIOC_GETSTATUS
#define WDIOC_GETBOOTSTATUS
#define WDIOC_GETTEMP
#define WDIOC_SETOPTIONS
#define WDIOC_KEEPALIVE
#define WDIOC_SETTIMEOUT
#define WDIOC_GETTIMEOUT
#define WDIOC_SETPRETIMEOUT
#define WDIOC_GETPRETIMEOUT
#define WDIOC_GETTIMELEFT

#define WDIOF_UNKNOWN
#define WDIOS_UNKNOWN

#define WDIOF_OVERHEAT
#define WDIOF_FANFAULT
#define WDIOF_EXTERN1
#define WDIOF_EXTERN2
#define WDIOF_POWERUNDER
#define WDIOF_CARDRESET
#define WDIOF_POWEROVER
#define WDIOF_SETTIMEOUT
#define WDIOF_MAGICCLOSE
#define WDIOF_PRETIMEOUT
#define WDIOF_ALARMONLY
#define WDIOF_KEEPALIVEPING

#define WDIOS_DISABLECARD
#define WDIOS_ENABLECARD
#define WDIOS_TEMPPANIC


#endif /* _UAPI_LINUX_WATCHDOG_H */