Home
last modified time | relevance | path

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

/DragonOS/kernel/src/time/
H A Dclocksource.rs317 let cs_data = self.clocksource_data(); in clocksource_max_adjustment() localVariable
318 let ret = cs_data.mult as u64 * 11 / 100; in clocksource_max_adjustment()
326 let mut cs_data = self.clocksource_data(); in clocksource_update_freq_scale() localVariable
327 let mut sec: u64 = cs_data.mask.bits(); in clocksource_update_freq_scale()
333 } else if sec > 600 && cs_data.mask.bits() > u32::MAX as u64 { in clocksource_update_freq_scale()
339 cs_data.set_mult(mult); in clocksource_update_freq_scale()
340 cs_data.set_shift(shift); in clocksource_update_freq_scale()
341 self.update_clocksource_data(cs_data)?; in clocksource_update_freq_scale()
344 let mut cs_data = self.clocksource_data(); in clocksource_update_freq_scale() localVariable
345 if scale != 0 && freq != 0 && cs_data.uncertainty_margin == 0 { in clocksource_update_freq_scale()
[all …]