Searched refs:voltage_k (Results 1 – 1 of 1) sorted by relevance
64 uint32_t voltage_k; member186 charger->voltage_k = (4025 - 2300) * 1000 / in rk817_bat_calib_vol()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()381 charger->volt_avg_uv = (charger->voltage_k * tmp) + 1000 * in rk817_read_props()434 tmp = ((charger->voltage_k * reg / 1000 + charger->voltage_b) * in rk817_read_props()755 boot_voltage = (charger->voltage_k * tmp) + in rk817_read_or_set_full_charge_on_boot()809 boot_voltage = (charger->voltage_k * tmp) + in rk817_read_or_set_full_charge_on_boot()824 boot_voltage = (charger->voltage_k * tmp) + 1000 * charger->voltage_b; in rk817_read_or_set_full_charge_on_boot()834 boot_voltage = (charger->voltage_k * tmp) + 1000 * charger->voltage_b; in rk817_read_or_set_full_charge_on_boot()