heartbeat.h 344 B

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