Searched refs:thermistor_curve (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/power/
H A Daxp288_fuel_gauge.c428 if (tval > info->pdata->thermistor_curve[0][1]) { temp_to_adc()
429 rntc = info->pdata->thermistor_curve[0][0]; temp_to_adc()
430 } else if (tval <= info->pdata->thermistor_curve[tcsz-1][1]) { temp_to_adc()
431 rntc = info->pdata->thermistor_curve[tcsz-1][0]; temp_to_adc()
434 if (tval > info->pdata->thermistor_curve[i][1]) { temp_to_adc()
435 rmin = info->pdata->thermistor_curve[i-1][0]; temp_to_adc()
436 rmax = info->pdata->thermistor_curve[i][0]; temp_to_adc()
437 tmin = info->pdata->thermistor_curve[i-1][1]; temp_to_adc()
438 tmax = info->pdata->thermistor_curve[i][1]; temp_to_adc()
482 if (r < info->pdata->thermistor_curve[0][0]) { adc_to_temp()
483 tval = info->pdata->thermistor_curve[0][1]; adc_to_temp()
484 } else if (r >= info->pdata->thermistor_curve[tcsz-1][0]) { adc_to_temp()
485 tval = info->pdata->thermistor_curve[tcsz-1][1]; adc_to_temp()
488 if (r < info->pdata->thermistor_curve[i][0]) { adc_to_temp()
489 rmin = info->pdata->thermistor_curve[i-1][0]; adc_to_temp()
490 rmax = info->pdata->thermistor_curve[i][0]; adc_to_temp()
491 tmin = info->pdata->thermistor_curve[i-1][1]; adc_to_temp()
492 tmax = info->pdata->thermistor_curve[i][1]; adc_to_temp()
/linux-4.1.27/include/linux/mfd/
H A Daxp20x.h275 int thermistor_curve[MAX_THERM_CURVE_SIZE][2]; member in struct:axp20x_fg_pdata

Completed in 87 milliseconds