Home
last modified time | relevance | path

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

/DragonOS/kernel/src/time/
H A Dtimekeeping.rs60 ntp_error_shift: i32, field
81 ntp_error_shift: Default::default(), in new()
140 timekeeper.ntp_error_shift = (NTP_SCALE_SHIFT - clock_data.shift) as i32; in timekeeper_setup_internals()
197 let mut error = timekeeper.ntp_error >> (timekeeper.ntp_error_shift - 1); in timekeeping_adjust()
249 timekeeper.ntp_error -= (interval - offset) << timekeeper.ntp_error_shift; in timekeeping_adjust()
429 tk.ntp_error += neg << tk.ntp_error_shift; in update_wall_time()