Home
last modified time | relevance | path

Searched refs:rtc_offset (Results 1 – 12 of 12) sorted by relevance

/netbsd-src/sys/kern/
H A Dkern_todr.c364 printf("%s: rtc_offset = %d\n", prefix, rtc_offset); in todr_debug()
419 tvp->tv_sec += rtc_offset * 60; in todr_gettime()
450 tvp->tv_sec = clock_ymdhms_to_secs(&dt) + rtc_offset * 60; in todr_gettime()
465 copy.tv_sec -= rtc_offset * 60; in todr_settime()
473 time_t sec = tvp->tv_sec - rtc_offset * 60; in todr_settime()
H A Dinit_sysctl.c257 sysctl_kern_rtc_offset, 0, &rtc_offset, 0,
829 new_rtc_offset = rtc_offset; in sysctl_kern_rtc_offset()
840 if (rtc_offset == new_rtc_offset) in sysctl_kern_rtc_offset()
845 delta.tv_sec = 60 * (new_rtc_offset - rtc_offset); in sysctl_kern_rtc_offset()
848 rtc_offset = new_rtc_offset; in sysctl_kern_rtc_offset()
/netbsd-src/sys/arch/x68k/stand/libsa/
H A Dclock.c38 int rtc_offset; variable
77 + (min * SECS_PER_MINUTE) + sec + (rtc_offset * 60); in getsecs()
H A Dlibx68k.h73 extern int rtc_offset;
/netbsd-src/sys/arch/hpcarm/hpcarm/
H A Dhpc_machdep.c278 if (rtc_offset == 0 && in initarm()
281 rtc_offset = bootinfo->timezone; in initarm()
/netbsd-src/etc/rc.d/
H A Drtclocaltime34 sysctl -qw kern.rtc_offset=${rtcoff}
/netbsd-src/sys/sys/
H A Dkernel.h53 extern int rtc_offset; /* offset of rtc from UTC in minutes */
/netbsd-src/sys/conf/
H A Dparam.c117 int rtc_offset = RTC_OFFSET; variable
/netbsd-src/sys/arch/hpcmips/hpcmips/
H A Dmachdep.c338 if (rtc_offset == 0 && bootinfo in mach_init()
341 rtc_offset = bootinfo->timezone; in mach_init()
/netbsd-src/sys/arch/playstation2/playstation2/
H A Dclock.c98 rtc_offset); in get_bootinfo_tod()
/netbsd-src/sys/arch/hpcsh/hpcsh/
H A Dmachdep.c226 if (rtc_offset == 0 in machine_startup()
229 rtc_offset = bootinfo->timezone; in machine_startup()
/netbsd-src/sys/arch/x68k/stand/boot/
H A Dboot.c393 rtc_offset = RTC_OFFSET; in bootmain()