Searched refs:clock_data (Results 1 – 1 of 1) sorted by relevance
118 let mut clock_data = clock.clocksource_data(); in timekeeper_setup_internals() localVariable119 clock_data.cycle_last = clock.read(); in timekeeper_setup_internals()120 if clock.update_clocksource_data(clock_data).is_err() { in timekeeper_setup_internals()125 let clock_data = clock.clocksource_data(); in timekeeper_setup_internals() localVariable126 let mut temp = NTP_INTERVAL_LENGTH << clock_data.shift; in timekeeper_setup_internals()128 temp += (clock_data.mult / 2) as u64; in timekeeper_setup_internals()132 timekeeper.xtime_interval = temp * clock_data.mult as u64; in timekeeper_setup_internals()135 timekeeper.raw_interval = (timekeeper.xtime_interval >> clock_data.shift) as i64; in timekeeper_setup_internals()137 timekeeper.shift = clock_data.shift as i32; in timekeeper_setup_internals()140 timekeeper.ntp_error_shift = (NTP_SCALE_SHIFT - clock_data.shift) as i32; in timekeeper_setup_internals()[all …]