PageRenderTime 19ms CodeModel.GetById 16ms RepoModel.GetById 1ms app.codeStats 0ms

/arch/sh/include/asm/heartbeat.h

https://bitbucket.org/cresqo/cm7-p500-kernel
C Header | 18 lines | 14 code | 4 blank | 0 comment | 0 complexity | ecbf6856db01d4e824f6564feddbd6e4 MD5 | raw file
Possible License(s): LGPL-2.0, AGPL-1.0, GPL-2.0
  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 */