Searched refs:target_nsec (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/drivers/rtc/ |
D | systohc.c | 21 int rtc_set_ntp_time(struct timespec64 now, unsigned long *target_nsec) in rtc_set_ntp_time() argument 41 *target_nsec = to_set.tv_nsec; in rtc_set_ntp_time()
|
/Linux-v5.10/kernel/time/ |
D | ntp.c | 501 unsigned long target_nsec, bool fail) in sched_sync_hw_clock() argument 520 next.tv_nsec = target_nsec - next.tv_nsec; in sched_sync_hw_clock() 534 unsigned long target_nsec; in sync_rtc_clock() local 551 rc = rtc_set_ntp_time(adjust, &target_nsec); in sync_rtc_clock() 555 sched_sync_hw_clock(now, target_nsec, rc); in sync_rtc_clock() 571 long target_nsec = NSEC_PER_SEC / 2; in sync_cmos_clock() local 588 if (rtc_tv_nsec_ok(-1 * target_nsec, &adjust, &now)) { in sync_cmos_clock() 602 sched_sync_hw_clock(now, target_nsec, rc); in sync_cmos_clock()
|
/Linux-v5.10/include/linux/ |
D | rtc.h | 168 extern int rtc_set_ntp_time(struct timespec64 now, unsigned long *target_nsec);
|