Lines Matching refs:history
1105 * @history: Snapshot representing start of history
1106 * @partial_history_cycles: Cycle offset into history (fractional part)
1107 * @total_history_cycles: Total history length in cycles
1108 * @discontinuity: True indicates clock was set on history period
1115 * total_history_* quantities are the total history starting at the provided
1120 static int adjust_historical_crosststamp(struct system_time_snapshot *history,
1134 /* Interpolate shortest distance from beginning or end of history */
1145 ktime_sub(ts->sys_monoraw, history->raw));
1152 * If there is a discontinuity in the history, scale monotonic raw
1163 ktime_sub(ts->sys_realtime, history->real));
1172 ts->sys_monoraw = ktime_add_ns(history->raw, corr_raw);
1173 ts->sys_realtime = ktime_add_ns(history->real, corr_real);
1282 * history reference and that the history doesn't cross a