![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 #ifndef __ASM_MACH_REGS_RTC_H 0003 #define __ASM_MACH_REGS_RTC_H 0004 0005 #include "pxa-regs.h" 0006 0007 /* 0008 * Real Time Clock 0009 */ 0010 0011 #define RCNR __REG(0x40900000) /* RTC Count Register */ 0012 #define RTAR __REG(0x40900004) /* RTC Alarm Register */ 0013 #define RTSR __REG(0x40900008) /* RTC Status Register */ 0014 #define RTTR __REG(0x4090000C) /* RTC Timer Trim Register */ 0015 #define PIAR __REG(0x40900038) /* Periodic Interrupt Alarm Register */ 0016 0017 #define RTSR_PICE (1 << 15) /* Periodic interrupt count enable */ 0018 #define RTSR_PIALE (1 << 14) /* Periodic interrupt Alarm enable */ 0019 #define RTSR_HZE (1 << 3) /* HZ interrupt enable */ 0020 #define RTSR_ALE (1 << 2) /* RTC alarm interrupt enable */ 0021 #define RTSR_HZ (1 << 1) /* HZ rising-edge detected */ 0022 #define RTSR_AL (1 << 0) /* RTC alarm detected */ 0023 0024 #endif /* __ASM_MACH_REGS_RTC_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |