Home
last modified time | relevance | path

Searched refs:RTC_OFFSET (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/rtc/
Drtc-ds1553.c21 #define RTC_OFFSET 0x1ff0 macro
23 #define RTC_FLAGS (RTC_OFFSET + 0)
24 #define RTC_SECONDS_ALARM (RTC_OFFSET + 2)
25 #define RTC_MINUTES_ALARM (RTC_OFFSET + 3)
26 #define RTC_HOURS_ALARM (RTC_OFFSET + 4)
27 #define RTC_DATE_ALARM (RTC_OFFSET + 5)
28 #define RTC_INTERRUPTS (RTC_OFFSET + 6)
29 #define RTC_WATCHDOG (RTC_OFFSET + 7)
30 #define RTC_CONTROL (RTC_OFFSET + 8)
31 #define RTC_CENTURY (RTC_OFFSET + 8)
[all …]
Drtc-stk17ta8.c24 #define RTC_OFFSET 0x1fff0 macro
26 #define RTC_FLAGS (RTC_OFFSET + 0)
27 #define RTC_CENTURY (RTC_OFFSET + 1)
28 #define RTC_SECONDS_ALARM (RTC_OFFSET + 2)
29 #define RTC_MINUTES_ALARM (RTC_OFFSET + 3)
30 #define RTC_HOURS_ALARM (RTC_OFFSET + 4)
31 #define RTC_DATE_ALARM (RTC_OFFSET + 5)
32 #define RTC_INTERRUPTS (RTC_OFFSET + 6)
33 #define RTC_WATCHDOG (RTC_OFFSET + 7)
34 #define RTC_CALIBRATION (RTC_OFFSET + 8)
[all …]
/linux-6.1.9/arch/m68k/mac/
Dmisc.c34 #define RTC_OFFSET 2082844800 macro
270 return (time64_t)result.idata - RTC_OFFSET; in via_read_time()
308 data.idata = lower_32_bits(time + RTC_OFFSET); in via_set_rtc_time()
/linux-6.1.9/drivers/macintosh/
Dvia-cuda.c776 #define RTC_OFFSET 2082844800 macro
791 return (time64_t)now - RTC_OFFSET; in cuda_get_time()
799 now = lower_32_bits(rtc_tm_to_time64(tm) + RTC_OFFSET); in cuda_set_rtc_time()
Dvia-pmu.c1731 #define RTC_OFFSET 2082844800 macro
1745 return (time64_t)now - RTC_OFFSET; in pmu_get_time()
1753 now = lower_32_bits(rtc_tm_to_time64(tm) + RTC_OFFSET); in pmu_set_rtc_time()