Lines Matching refs:mult
279 max_cycles = (1 << (63 - (log2(cs_data_guard.mult + cs_data_guard.maxadj) + 1))) as u64; in clocksource_max_deferment()
283 cs_data_guard.mult - cs_data_guard.maxadj, in clocksource_max_deferment()
295 let mut mult = (maxsec as u64 * from as u64) >> 32; in clocks_calc_mult_shift() localVariable
296 while mult != 0 { in clocks_calc_mult_shift()
297 mult >>= 1; in clocks_calc_mult_shift()
304 mult = (to as u64) << sft; in clocks_calc_mult_shift()
305 mult += from as u64 / 2; in clocks_calc_mult_shift()
306 mult /= from as u64; in clocks_calc_mult_shift()
307 if (mult >> sftacc) == 0 { in clocks_calc_mult_shift()
312 return (mult as u32, sft); in clocks_calc_mult_shift()
318 let ret = cs_data.mult as u64 * 11 / 100; in clocksource_max_adjustment()
337 let (mult, shift) = in clocksource_update_freq_scale()
339 cs_data.set_mult(mult); in clocksource_update_freq_scale()
358 && (self.clocksource_data().mult + self.clocksource_data().maxadj in clocksource_update_freq_scale()
359 < self.clocksource_data().mult in clocksource_update_freq_scale()
360 || self.clocksource_data().mult - self.clocksource_data().maxadj in clocksource_update_freq_scale()
361 > self.clocksource_data().mult) in clocksource_update_freq_scale()
364 cs_data.set_mult(cs_data.mult >> 1); in clocksource_update_freq_scale()
670 pub mult: u32, field
692 mult: u32, in new()
703 mult, in new()
725 pub fn set_mult(&mut self, mult: u32) { in set_mult()
726 self.mult = mult; in set_mult()
755 pub fn clocksource_cyc2ns(cycles: CycleNum, mult: u32, shift: u32) -> u64 { in clocksource_cyc2ns()
759 return (cycles.data() * mult as u64) >> shift; in clocksource_cyc2ns()
860 wd_now_data.mult, in clocksource_watchdog()
866 cs_data.mult, // 2343484437 in clocksource_watchdog()