Home
last modified time | relevance | path

Searched refs:volt_avg (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/power/supply/
H A Drk817_charger.c243 int tmp, charge_now, charge_now_adc, volt_avg; in rk817_bat_calib_cap() local
318 volt_avg = (charger->voltage_k * tmp) + 1000 * charger->voltage_b; in rk817_bat_calib_cap()
319 if (volt_avg <= charger->bat_voltage_min_design_uv && in rk817_bat_calib_cap()
341 if (volt_avg <= charger->bat_voltage_min_design_uv) { in rk817_bat_calib_cap()
349 volt_avg, charger->bat_voltage_min_design_uv); in rk817_bat_calib_cap()