Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 309a29b5965a0b2f36b3e245213eb43300a89ac2 48 lines 1.6 kB view raw
1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * Copyright (c) 2003 Simtec Electronics <linux@simtec.co.uk> 4 * http://www.simtec.co.uk/products/SWLINUX/ 5 * 6 * S3C2410 Internal RTC register definition 7*/ 8 9#ifndef __ASM_ARCH_REGS_RTC_H 10#define __ASM_ARCH_REGS_RTC_H __FILE__ 11 12#define S3C2410_RTCREG(x) (x) 13#define S3C2410_INTP S3C2410_RTCREG(0x30) 14#define S3C2410_INTP_ALM (1 << 1) 15#define S3C2410_INTP_TIC (1 << 0) 16 17#define S3C2410_RTCCON S3C2410_RTCREG(0x40) 18#define S3C2410_RTCCON_RTCEN (1 << 0) 19#define S3C2410_RTCCON_CNTSEL (1 << 2) 20#define S3C2410_RTCCON_CLKRST (1 << 3) 21#define S3C2443_RTCCON_TICSEL (1 << 4) 22#define S3C64XX_RTCCON_TICEN (1 << 8) 23 24#define S3C2410_RTCALM S3C2410_RTCREG(0x50) 25#define S3C2410_RTCALM_ALMEN (1 << 6) 26#define S3C2410_RTCALM_YEAREN (1 << 5) 27#define S3C2410_RTCALM_MONEN (1 << 4) 28#define S3C2410_RTCALM_DAYEN (1 << 3) 29#define S3C2410_RTCALM_HOUREN (1 << 2) 30#define S3C2410_RTCALM_MINEN (1 << 1) 31#define S3C2410_RTCALM_SECEN (1 << 0) 32 33#define S3C2410_ALMSEC S3C2410_RTCREG(0x54) 34#define S3C2410_ALMMIN S3C2410_RTCREG(0x58) 35#define S3C2410_ALMHOUR S3C2410_RTCREG(0x5c) 36 37#define S3C2410_ALMDATE S3C2410_RTCREG(0x60) 38#define S3C2410_ALMMON S3C2410_RTCREG(0x64) 39#define S3C2410_ALMYEAR S3C2410_RTCREG(0x68) 40 41#define S3C2410_RTCSEC S3C2410_RTCREG(0x70) 42#define S3C2410_RTCMIN S3C2410_RTCREG(0x74) 43#define S3C2410_RTCHOUR S3C2410_RTCREG(0x78) 44#define S3C2410_RTCDATE S3C2410_RTCREG(0x7c) 45#define S3C2410_RTCMON S3C2410_RTCREG(0x84) 46#define S3C2410_RTCYEAR S3C2410_RTCREG(0x88) 47 48#endif /* __ASM_ARCH_REGS_RTC_H */