Searched refs:mult (Results 1 – 3 of 3) sorted by relevance
/DragonOS-0.1.8/kernel/src/time/ |
D | timekeeping.rs | 59 mult: u32, field 77 mult: Default::default(), in new() 116 temp += (clock_data.mult / 2) as u64; in timekeeper_setup_internals() 120 timekeeper.xtime_interval = temp * clock_data.mult as u64; in timekeeper_setup_internals() 130 timekeeper.mult = clock_data.mult; in timekeeper_setup_internals() 141 return clocksource_cyc2ns(CycleNum(clock_delta), clcok_data.mult, clcok_data.shift); in tk_get_ns()
|
D | clocksource.rs | 253 max_cycles = (1 << (63 - (log2(cs_data_guard.mult) + 1))) as u64; in clocksource_max_deferment() 257 cs_data_guard.mult, in clocksource_max_deferment() 551 pub mult: u32, field 564 mult: u32, in new() 573 mult, in new() 591 pub fn set_mult(&mut self, mult: u32) { in set_mult() 592 self.mult = mult; in set_mult() 615 pub fn clocksource_cyc2ns(cycles: CycleNum, mult: u32, shift: u32) -> u64 { in clocksource_cyc2ns() 616 return (cycles.data() * mult as u64) >> shift; in clocksource_cyc2ns() 670 cur_wd_data.mult, in clocksource_watchdog() [all …]
|
D | jiffies.rs | 52 d.set_mult(_data.mult); in update_clocksource_data() 69 mult: NSEC_PER_JIFFY << JIFFIES_SHIFT, in new()
|