heartbeat.h 383 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __ASM_SH_HEARTBEAT_H
  3. #define __ASM_SH_HEARTBEAT_H
  4. #include <linux/timer.h>
  5. #define HEARTBEAT_INVERTED (1 << 0)
  6. struct heartbeat_data {
  7. void __iomem *base;
  8. unsigned char *bit_pos;
  9. unsigned int nr_bits;
  10. struct timer_list timer;
  11. unsigned int regsize;
  12. unsigned int mask;
  13. unsigned long flags;
  14. };
  15. #endif /* __ASM_SH_HEARTBEAT_H */