Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Dltc2941-battery-gauge.c79 int Qlsb; /* nAh */ member
85 return ((Q * (info->Qlsb / 10))) / 100; in convert_bin_to_uAh()
93 Q = (uAh * 100) / (info->Qlsb/10); in convert_uAh_to_bin()
201 if (info->Qlsb < 0) in ltc294x_get_charge()
216 if (info->Qlsb < 0) in ltc294x_set_charge_now()
256 if (info->Qlsb < 0) in ltc294x_set_charge_thr()
483 info->Qlsb = ((340 * 50000) / r_sense) >> in ltc294x_i2c_probe()
488 info->Qlsb = ((85 * 50000) / r_sense) >> in ltc294x_i2c_probe()