Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A Drtc-ds1553.c21 #define RTC_OFFSET 0x1ff0 macro
23 #define RTC_FLAGS (RTC_OFFSET + 0)
30 #define RTC_CONTROL (RTC_OFFSET + 8)
31 #define RTC_CENTURY (RTC_OFFSET + 8)
32 #define RTC_SECONDS (RTC_OFFSET + 9)
34 #define RTC_HOURS (RTC_OFFSET + 11)
35 #define RTC_DAY (RTC_OFFSET + 12)
36 #define RTC_DATE (RTC_OFFSET + 13)
37 #define RTC_MONTH (RTC_OFFSET + 14)
38 #define RTC_YEAR (RTC_OFFSET + 15)
[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)
33 #define RTC_WATCHDOG (RTC_OFFSET + 7)
35 #define RTC_SECONDS (RTC_OFFSET + 9)
37 #define RTC_HOURS (RTC_OFFSET + 11)
38 #define RTC_DAY (RTC_OFFSET + 12)
39 #define RTC_DATE (RTC_OFFSET + 13)
40 #define RTC_MONTH (RTC_OFFSET + 14)
41 #define RTC_YEAR (RTC_OFFSET + 15)
[all …]
/openbmc/linux/arch/m68k/mac/
H A 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()
/openbmc/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()
/openbmc/u-boot/arch/arm/include/asm/arch-ep93xx/
H A Dep93xx.h581 #define RTC_OFFSET 0x920000 macro
582 #define RTC_BASE (EP93XX_APB_BASE | RTC_OFFSET)
/openbmc/qemu/hw/misc/macio/
H A Dcuda.c57 #define RTC_OFFSET 2082844800 macro
534 s->tick_offset = (uint32_t)mktimegm(&tm) + RTC_OFFSET; in cuda_realize()
H A Dpmu.c51 #define RTC_OFFSET 2082844800 macro
734 s->tick_offset = (uint32_t)mktimegm(&tm) + RTC_OFFSET; in pmu_realize()
/openbmc/qemu/hw/misc/
H A Dmac_via.c295 #define RTC_OFFSET 2082844800 macro
1246 v1s->tick_offset = (uint32_t)mktimegm(&tm) + RTC_OFFSET; in mos6522_q800_via1_realize()