Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\ntp.c Create Date:2022-07-28 10:43:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sync_rtc_clock

Proto:static void sync_rtc_clock(void)

Type:void

Parameter:Nothing

538  If Not IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_RTC_SYSTOHC) Then Return
541  ktime_get_real_ts64 - Returns the time of day in a timespec64.*@ts: pointer to the timespec to be set* Returns the time of day in a timespec64 (WARN if suspended).
543  adjust = now
544  If Indicates if there is an offset between the system clock and the hardware* clock/persistent clock/rtc. Then seconds -= minutes west of Greenwich * 60
551  rc = rtc_set_ntp_time(adjust, & target_nsec)
552  If rc == -ENODEV Then Return
555  sched_sync_hw_clock(now, target_nsec, rc)
Caller
NameDescribe
sync_hw_clock