Searched refs:temp_value (Results 1 – 1 of 1) sorted by relevance
391 int temp_value = 0; in rk817_bat_get_bat_ts() local393 temp_value = rk817_bat_read(battery, BAT_TS_H) << 8; in rk817_bat_get_bat_ts()394 temp_value |= rk817_bat_read(battery, BAT_TS_L); in rk817_bat_get_bat_ts()396 return temp_value; in rk817_bat_get_bat_ts()586 int temp_value, res; in rk817_bat_get_nts_res() local590 temp_value = rk817_bat_get_bat_ts(battery); in rk817_bat_get_nts_res()591 adc_to_vol = temp_value * 1200 / 65536; in rk817_bat_get_nts_res()