Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Drk817_charger.c65 uint32_t voltage_b; member
188 charger->voltage_b = 4025 - (charger->voltage_k * vcalib1) / 1000; in rk817_bat_calib_vol()
318 volt_avg = (charger->voltage_k * tmp) + 1000 * charger->voltage_b; in rk817_bat_calib_cap()
396 charger->voltage_b; in rk817_read_props()
448 tmp = ((charger->voltage_k * reg / 1000 + charger->voltage_b) * in rk817_read_props()
773 1000 * charger->voltage_b; in rk817_read_or_set_full_charge_on_boot()
827 1000 * charger->voltage_b; in rk817_read_or_set_full_charge_on_boot()