globaltimer.h 372 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * (C) Copyright 2012 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
  4. * (C) Copyright 2012 Renesas Solutions Corp.
  5. */
  6. #ifndef _GLOBALTIMER_H_
  7. #define _GLOBALTIMER_H_
  8. struct globaltimer {
  9. u32 cnt_l; /* 0x00 */
  10. u32 cnt_h;
  11. u32 ctl;
  12. u32 stat;
  13. u32 cmp_l; /* 0x10 */
  14. u32 cmp_h;
  15. u32 inc;
  16. };
  17. #endif /* _GLOBALTIMER_H_ */