Lines Matching refs:RTC
2 Real Time Clock (RTC) Drivers for Linux
16 Linux has two largely-compatible userspace RTC API families you may
19 * /dev/rtc ... is the RTC provided by PC compatible systems,
23 supported by a wide variety of RTC chips on all systems.
27 RTCs use the same API to make requests in both RTC frameworks (using
29 same functionality. For example, not every RTC is hooked up to an
91 the process of doing this, the kernel briefly turns off RTC periodic
94 whatever) then the kernel will keep its hands off the RTC, allowing you
97 The alarm and/or interrupt frequency are programmed into the RTC via
108 New portable "RTC Class" drivers: /dev/rtcN
112 have more than one RTC style clock, it needed a more portable solution
114 Accordingly, a new "RTC Class" framework has been defined. It offers
120 access to some RTC attributes.
122 * /proc/driver/rtc ... the system clock RTC may expose itself
123 using a procfs interface. If there is no RTC for the system clock,
127 The RTC Class framework supports a wide variety of RTCs, ranging from those
133 The new framework also removes the "one RTC per system" restriction. For
134 example, maybe the low-power battery-backed RTC is a discrete I2C chip, but
135 a high functionality RTC is integrated into the SOC. That system might read
136 the system clock from the discrete RTC, but use the integrated one for all
144 are in the RTC's timezone, rather than in system time.
146 date: RTC-provided date
147 hctosys: 1 if the RTC provided the system time at boot via the
150 from this RTC.
151 name: The name of the RTC corresponding to this sysfs directory
152 since_epoch: The number of seconds since the epoch according to the RTC
153 time: RTC-provided time
164 The ioctl() calls supported by /dev/rtc are also supported by the RTC class
168 RTC class framework, but can't be supported by the older driver.
170 * RTC_RD_TIME, RTC_SET_TIME ... every RTC supports at least reading
174 * RTC_AIE_ON, RTC_AIE_OFF, RTC_ALM_SET, RTC_ALM_READ ... when the RTC
183 * RTC_UIE_ON, RTC_UIE_OFF ... if the RTC offers IRQs, the RTC framework
189 In many cases, the RTC alarm can be a system wake event, used to force