Home
last modified time | relevance | path

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

/drivers/power/supply/
Dltc2941-battery-gauge.c78 int r_sense; /* mOhm */ member
326 *val = 1000 * (value / (info->r_sense * 0x7FFF)); /* in uA */ in ltc294x_get_current()
450 s32 r_sense; in ltc294x_i2c_probe() local
467 ret = of_property_read_u32(np, "lltc,resistor-sense", &r_sense); in ltc294x_i2c_probe()
471 info->r_sense = r_sense; in ltc294x_i2c_probe()
484 info->Qlsb = ((340 * 50000) / r_sense) >> in ltc294x_i2c_probe()
489 info->Qlsb = ((85 * 50000) / r_sense) >> in ltc294x_i2c_probe()