Home
last modified time | relevance | path

Searched refs:measured_times (Results 1 – 1 of 1) sorted by relevance

/init/
Dcalibrate.c43 unsigned long measured_times[MAX_DIRECT_CALIBRATION_RETRIES]; in calibrate_delay_direct() local
107 measured_times[i] = timer_rate_max; in calibrate_delay_direct()
108 if (max < 0 || timer_rate_max > measured_times[max]) in calibrate_delay_direct()
110 if (min < 0 || timer_rate_max < measured_times[min]) in calibrate_delay_direct()
113 measured_times[i] = 0; in calibrate_delay_direct()
130 if ((measured_times[max] - measured_times[min]) < maxdiff) in calibrate_delay_direct()
136 if ((measured_times[max] - estimate) < in calibrate_delay_direct()
137 (estimate - measured_times[min])) { in calibrate_delay_direct()
140 min, measured_times[min]); in calibrate_delay_direct()
141 measured_times[min] = 0; in calibrate_delay_direct()
[all …]