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

TOMOYO Linux Cross Reference
Linux/Documentation/ABI/testing/sysfs-class-rtc

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ 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.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 What:           /sys/class/rtc/
  2 Date:           March 2006
  3 KernelVersion:  2.6.17
  4 Contact:        linux-rtc@vger.kernel.org
  5 Description:
  6                 The rtc/ class subdirectory belongs to the RTC subsystem.
  7 
  8 What:           /sys/class/rtc/rtcX/
  9 Date:           March 2006
 10 KernelVersion:  2.6.17
 11 Contact:        linux-rtc@vger.kernel.org
 12 Description:
 13                 The /sys/class/rtc/rtc{0,1,2,3,...} directories correspond
 14                 to each RTC device.
 15 
 16 What:           /sys/class/rtc/rtcX/date
 17 Date:           March 2006
 18 KernelVersion:  2.6.17
 19 Contact:        linux-rtc@vger.kernel.org
 20 Description:
 21                 (RO) RTC-provided date in YYYY-MM-DD format
 22 
 23 What:           /sys/class/rtc/rtcX/hctosys
 24 Date:           September 2009
 25 KernelVersion:  2.6.32
 26 Contact:        linux-rtc@vger.kernel.org
 27 Description:
 28                 (RO) 1 if the RTC provided the system time at boot via the
 29                 CONFIG_RTC_HCTOSYS kernel option, 0 otherwise
 30 
 31 What:           /sys/class/rtc/rtcX/max_user_freq
 32 Date:           October 2007
 33 KernelVersion:  2.6.24
 34 Contact:        linux-rtc@vger.kernel.org
 35 Description:
 36                 (RW) The maximum interrupt rate an unprivileged user may request
 37                 from this RTC.
 38 
 39 What:           /sys/class/rtc/rtcX/name
 40 Date:           March 2006
 41 KernelVersion:  2.6.17
 42 Contact:        linux-rtc@vger.kernel.org
 43 Description:
 44                 (RO) The name of the RTC corresponding to this sysfs directory
 45 
 46 What:           /sys/class/rtc/rtcX/range
 47 Date:           January 2018
 48 KernelVersion:  4.16
 49 Contact:        linux-rtc@vger.kernel.org
 50 Description:
 51                 Valid time range for the RTC, as seconds from epoch, formatted
 52                 as [min, max]
 53 
 54 What:           /sys/class/rtc/rtcX/since_epoch
 55 Date:           March 2006
 56 KernelVersion:  2.6.17
 57 Contact:        linux-rtc@vger.kernel.org
 58 Description:
 59                 (RO) RTC-provided time as the number of seconds since the epoch
 60 
 61 What:           /sys/class/rtc/rtcX/time
 62 Date:           March 2006
 63 KernelVersion:  2.6.17
 64 Contact:        linux-rtc@vger.kernel.org
 65 Description:
 66                 (RO) RTC-provided time in 24-hour notation (hh:mm:ss)
 67 
 68 What:           /sys/class/rtc/rtcX/offset
 69 Date:           February 2016
 70 KernelVersion:  4.6
 71 Contact:        linux-rtc@vger.kernel.org
 72 Description:
 73                 (RW) The amount which the rtc clock has been adjusted in
 74                 firmware. Visible only if the driver supports clock offset
 75                 adjustment. The unit is parts per billion, i.e. The number of
 76                 clock ticks which are added to or removed from the rtc's base
 77                 clock per billion ticks. A positive value makes a day pass more
 78                 slowly, longer, and a negative value makes a day pass more
 79                 quickly.
 80 
 81 What:           /sys/class/rtc/rtcX/wakealarm
 82 Date:           February 2007
 83 KernelVersion:  2.6.20
 84 Contact:        linux-rtc@vger.kernel.org
 85 Description:
 86                 (RW) The time at which the clock will generate a system wakeup
 87                 event. This is a one shot wakeup event, so must be reset after
 88                 wake if a daily wakeup is required. Format is seconds since the
 89                 epoch by default, or if there's a leading +, seconds in the
 90                 future, or if there is a leading +=, seconds ahead of the
 91                 current alarm.

~ [ 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