Searched refs:adc_to_vol (Results 1 – 1 of 1) sorted by relevance
587 int adc_to_vol; in rk817_bat_get_nts_res() local591 adc_to_vol = temp_value * 1200 / 65536; in rk817_bat_get_nts_res()593 res = (adc_to_vol * 1000 - bat_current * battery->contact_res) / in rk817_bat_get_nts_res()597 res, adc_to_vol, bat_current, battery->ntc_factor); in rk817_bat_get_nts_res()