Searched refs:thermistor_curve (Results 1 – 2 of 2) sorted by relevance
428 if (tval > info->pdata->thermistor_curve[0][1]) { in temp_to_adc()429 rntc = info->pdata->thermistor_curve[0][0]; in temp_to_adc()430 } else if (tval <= info->pdata->thermistor_curve[tcsz-1][1]) { in temp_to_adc()431 rntc = info->pdata->thermistor_curve[tcsz-1][0]; in temp_to_adc()434 if (tval > info->pdata->thermistor_curve[i][1]) { in temp_to_adc()435 rmin = info->pdata->thermistor_curve[i-1][0]; in temp_to_adc()436 rmax = info->pdata->thermistor_curve[i][0]; in temp_to_adc()437 tmin = info->pdata->thermistor_curve[i-1][1]; in temp_to_adc()438 tmax = info->pdata->thermistor_curve[i][1]; in temp_to_adc()482 if (r < info->pdata->thermistor_curve[0][0]) { in adc_to_temp()[all …]
428 int thermistor_curve[MAX_THERM_CURVE_SIZE][2]; member