Lines Matching refs:max
44 int max = -1; /* index of measured_times with max/min values or not set */ in calibrate_delay_direct() local
108 if (max < 0 || timer_rate_max > measured_times[max]) in calibrate_delay_direct()
109 max = i; 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()
142 min = max; in calibrate_delay_direct()
146 max, measured_times[max]); in calibrate_delay_direct()
147 measured_times[max] = 0; in calibrate_delay_direct()
148 max = min; in calibrate_delay_direct()
158 if (measured_times[i] > measured_times[max]) in calibrate_delay_direct()
159 max = i; in calibrate_delay_direct()