Lines Matching defs:max_uV
314 static int adc_measurement(ofnode node, int adc_count, int *min_uV, int *max_uV)
347 if (uV > *max_uV)
348 *max_uV = uV;
365 int max_uV = 0;
397 ret = adc_measurement(node, adc_count, &min_uV, &max_uV);
406 if (max_uV > USB_START_LOW_THRESHOLD_UV &&
407 max_uV <= USB_START_HIGH_THRESHOLD_UV &&
424 if ((max_uV > USB_LOW_THRESHOLD_UV &&
426 (max_uV <= USB_LOW_THRESHOLD_UV &&
434 if (max_uV > USB_LOW_THRESHOLD_UV &&
435 max_uV <= USB_WARNING_LOW_THRESHOLD_UV &&
441 if (max_uV > USB_WARNING_LOW_THRESHOLD_UV &&
442 max_uV <= USB_START_LOW_THRESHOLD_UV &&
452 if (max_uV > USB_START_HIGH_THRESHOLD_UV) {