~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/linux/rtc/ds1286.h

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /*
  2  * Copyright (C) 1998, 1999, 2003 Ralf Baechle
  3  *
  4  * This file is subject to the terms and conditions of the GNU General Public
  5  * License.  See the file "COPYING" in the main directory of this archive
  6  * for more details.
  7  */
  8 #ifndef __LINUX_DS1286_H
  9 #define __LINUX_DS1286_H
 10 
 11 /**********************************************************************
 12  * register summary
 13  **********************************************************************/
 14 #define RTC_HUNDREDTH_SECOND    0
 15 #define RTC_SECONDS             1
 16 #define RTC_MINUTES             2
 17 #define RTC_MINUTES_ALARM       3
 18 #define RTC_HOURS               4
 19 #define RTC_HOURS_ALARM         5
 20 #define RTC_DAY                 6
 21 #define RTC_DAY_ALARM           7
 22 #define RTC_DATE                8
 23 #define RTC_MONTH               9
 24 #define RTC_YEAR                10
 25 #define RTC_CMD                 11
 26 #define RTC_WHSEC               12
 27 #define RTC_WSEC                13
 28 #define RTC_UNUSED              14
 29 
 30 /* RTC_*_alarm is always true if 2 MSBs are set */
 31 # define RTC_ALARM_DONT_CARE    0xC0
 32 
 33 
 34 /*
 35  * Bits in the month register
 36  */
 37 #define RTC_EOSC                0x80
 38 #define RTC_ESQW                0x40
 39 
 40 /*
 41  * Bits in the Command register
 42  */
 43 #define RTC_TDF                 0x01
 44 #define RTC_WAF                 0x02
 45 #define RTC_TDM                 0x04
 46 #define RTC_WAM                 0x08
 47 #define RTC_PU_LVL              0x10
 48 #define RTC_IBH_LO              0x20
 49 #define RTC_IPSW                0x40
 50 #define RTC_TE                  0x80
 51 
 52 #endif /* __LINUX_DS1286_H */
 53 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php