Searched refs:lut_volt2 (Results 1 – 1 of 1) sorted by relevance
181 int lut_volt2; in s3c_adc_bat_get_property() local185 lut_volt2 = calc_full_volt(lut[1].volt, lut[1].cur, in s3c_adc_bat_get_property()187 if (full_volt < lut_volt1 && full_volt >= lut_volt2) { in s3c_adc_bat_get_property()190 (full_volt - lut_volt2) / in s3c_adc_bat_get_property()191 (lut_volt1 - lut_volt2)) * 1000; in s3c_adc_bat_get_property()