Searched refs:max (Results 1 – 1 of 1) sorted by relevance
43 int max = -1; /* index of measured_times with max/min values or not set */ in calibrate_delay_direct() local107 if (max < 0 || timer_rate_max > measured_times[max]) in calibrate_delay_direct()108 max = i; 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()141 min = max; in calibrate_delay_direct()145 max, measured_times[max]); in calibrate_delay_direct()146 measured_times[max] = 0; in calibrate_delay_direct()147 max = min; in calibrate_delay_direct()157 if (measured_times[i] > measured_times[max]) in calibrate_delay_direct()[all …]