Lines Matching refs:measured_times
42 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()
145 max, measured_times[max]); in calibrate_delay_direct()
146 measured_times[max] = 0; in calibrate_delay_direct()
151 if (measured_times[i] == 0) in calibrate_delay_direct()
154 good_timer_sum += measured_times[i]; in calibrate_delay_direct()
155 if (measured_times[i] < measured_times[min]) in calibrate_delay_direct()
157 if (measured_times[i] > measured_times[max]) in calibrate_delay_direct()