mm: make wait_on_page_writeback() wait for multiple pending writebacks
[linux/fpc-iii.git] / arch / arm / mach-pxa / regs-rtc.h
blobb1f9ff14e335937ada78be595f803683c05c826d
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_MACH_REGS_RTC_H
3 #define __ASM_MACH_REGS_RTC_H
5 #include <mach/hardware.h>
7 /*
8 * Real Time Clock
9 */
11 #define RCNR __REG(0x40900000) /* RTC Count Register */
12 #define RTAR __REG(0x40900004) /* RTC Alarm Register */
13 #define RTSR __REG(0x40900008) /* RTC Status Register */
14 #define RTTR __REG(0x4090000C) /* RTC Timer Trim Register */
15 #define PIAR __REG(0x40900038) /* Periodic Interrupt Alarm Register */
17 #define RTSR_PICE (1 << 15) /* Periodic interrupt count enable */
18 #define RTSR_PIALE (1 << 14) /* Periodic interrupt Alarm enable */
19 #define RTSR_HZE (1 << 3) /* HZ interrupt enable */
20 #define RTSR_ALE (1 << 2) /* RTC alarm interrupt enable */
21 #define RTSR_HZ (1 << 1) /* HZ rising-edge detected */
22 #define RTSR_AL (1 << 0) /* RTC alarm detected */
24 #endif /* __ASM_MACH_REGS_RTC_H */