Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: f4d51dffc6c01a9e94650d95ce0104964f8ae822 authored by Linus Torvalds on 07 September 2020, 00:11:40 UTC
Linux 5.9-rc4
Tip revision: f4d51df
heartbeat.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __ASM_SH_HEARTBEAT_H
#define __ASM_SH_HEARTBEAT_H

#include <linux/timer.h>

#define HEARTBEAT_INVERTED	(1 << 0)

struct heartbeat_data {
	void __iomem *base;
	unsigned char *bit_pos;
	unsigned int nr_bits;
	struct timer_list timer;
	unsigned int regsize;
	unsigned int mask;
	unsigned long flags;
};

#endif /* __ASM_SH_HEARTBEAT_H */
back to top