Home
last modified time | relevance | path

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

/linux/drivers/rtc/
H A 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 …]
H A 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/arch/m68k/mac/
H A Dmisc.c36 #define RTC_OFFSET 2082844800 macro
272 return (time64_t)result.idata - RTC_OFFSET; in via_read_time()
310 data.idata = lower_32_bits(time + RTC_OFFSET); in via_set_rtc_time()
/linux/drivers/macintosh/
H A Dvia-cuda.c770 #define RTC_OFFSET 2082844800 macro
785 return (time64_t)now - RTC_OFFSET; in cuda_get_time()
793 now = lower_32_bits(rtc_tm_to_time64(tm) + RTC_OFFSET); in cuda_set_rtc_time()
H A Dvia-pmu.c1728 #define RTC_OFFSET 2082844800 macro
1742 return (time64_t)now - RTC_OFFSET; in pmu_get_time()
1750 now = lower_32_bits(rtc_tm_to_time64(tm) + RTC_OFFSET); in pmu_set_rtc_time()