Home
last modified time | relevance | path

Searched refs:target_nsec (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/rtc/
Dsystohc.c26 int rtc_set_ntp_time(struct timespec64 now, unsigned long *target_nsec) in rtc_set_ntp_time() argument
47 *target_nsec = to_set.tv_nsec; in rtc_set_ntp_time()
/Linux-v4.19/kernel/time/
Dntp.c500 unsigned long target_nsec, bool fail) in sched_sync_hw_clock() argument
519 next.tv_nsec = target_nsec - next.tv_nsec; in sched_sync_hw_clock()
533 unsigned long target_nsec; in sync_rtc_clock() local
550 rc = rtc_set_ntp_time(adjust, &target_nsec); in sync_rtc_clock()
554 sched_sync_hw_clock(now, target_nsec, rc); in sync_rtc_clock()
578 long target_nsec = NSEC_PER_SEC / 2; in sync_cmos_clock() local
595 if (rtc_tv_nsec_ok(-1 * target_nsec, &adjust, &now)) { in sync_cmos_clock()
609 sched_sync_hw_clock(now, target_nsec, rc); in sync_cmos_clock()
/Linux-v4.19/include/linux/
Drtc.h186 extern int rtc_set_ntp_time(struct timespec64 now, unsigned long *target_nsec);