Searched refs:r_sense (Results 1 – 1 of 1) sorted by relevance
78 int r_sense; /* mOhm */ member326 *val = 1000 * (value / (info->r_sense * 0x7FFF)); /* in uA */ in ltc294x_get_current()450 s32 r_sense; in ltc294x_i2c_probe() local467 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()