Searched refs:vcalib1 (Results 1 – 1 of 1) sorted by relevance
173 uint32_t vcalib1 = 0; in rk817_bat_calib_vol() local183 vcalib1 = get_unaligned_be16(bulk_reg); in rk817_bat_calib_vol()187 ((vcalib1 - vcalib0) ? (vcalib1 - vcalib0) : 1); in rk817_bat_calib_vol()188 charger->voltage_b = 4025 - (charger->voltage_k * vcalib1) / 1000; in rk817_bat_calib_vol()