Home
last modified time | relevance | path

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

/init/
Dcalibrate.c42 unsigned long measured_times[MAX_DIRECT_CALIBRATION_RETRIES]; in calibrate_delay_direct() local
106 measured_times[i] = timer_rate_max; in calibrate_delay_direct()
107 if (max < 0 || timer_rate_max > measured_times[max]) in calibrate_delay_direct()
109 if (min < 0 || timer_rate_max < measured_times[min]) in calibrate_delay_direct()
112 measured_times[i] = 0; in calibrate_delay_direct()
129 if ((measured_times[max] - measured_times[min]) < maxdiff) in calibrate_delay_direct()
135 if ((measured_times[max] - estimate) < in calibrate_delay_direct()
136 (estimate - measured_times[min])) { in calibrate_delay_direct()
139 min, measured_times[min]); in calibrate_delay_direct()
140 measured_times[min] = 0; in calibrate_delay_direct()
[all …]