Lines Matching refs:measured_times
43 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()
146 max, measured_times[max]); in calibrate_delay_direct()
147 measured_times[max] = 0; in calibrate_delay_direct()
152 if (measured_times[i] == 0) in calibrate_delay_direct()
155 good_timer_sum += measured_times[i]; in calibrate_delay_direct()
156 if (measured_times[i] < measured_times[min]) in calibrate_delay_direct()
158 if (measured_times[i] > measured_times[max]) in calibrate_delay_direct()