Lines Matching refs:u64
43 pub const HZ: u64 = 1000;
45 pub const WATCHDOG_INTERVAL: u64 = HZ >> 1;
52 pub struct CycleNum(pub u64);
57 pub fn new(cycle: u64) -> Self { in new()
61 pub fn data(&self) -> u64 { in data() argument
78 pub struct ClocksourceMask: u64 {
82 pub struct ClocksourceFlags: u64 {
95 impl From<u64> for ClocksourceMask {
96 fn from(value: u64) -> Self { in from()
100 return Self::from_bits_truncate(u64::MAX); in from()
104 pub fn new(b: u64) -> Self { in new()
109 pub fn new(b: u64) -> Self { in new()
123 timer_expires: u64,
249 pub fn clocksource_max_deferment(&self) -> u64 { in clocksource_max_deferment() argument
251 let max_nsecs: u64; in clocksource_max_deferment()
252 let mut max_cycles: u64; in clocksource_max_deferment()
253 max_cycles = (1 << (63 - (log2(cs_data_guard.mult) + 1))) as u64; in clocksource_max_deferment()
615 pub fn clocksource_cyc2ns(cycles: CycleNum, mult: u32, shift: u32) -> u64 { in clocksource_cyc2ns() argument
616 return (cycles.data() * mult as u64) >> shift; in clocksource_cyc2ns()