Home
last modified time | relevance | path

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

/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 …]
/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()