Searched refs:tsiref_mv (Results 1 – 1 of 1) sorted by relevance
28 int tsiref_mv; member69 return DIV_ROUND_CLOSEST(value * hwmon->tsiref_mv, 1023); in input_tsireg_to_mv()428 hwmon->tsiref_mv = regulator_get_voltage(hwmon->tsiref); in da9052_hwmon_probe()429 if (hwmon->tsiref_mv < 0) { in da9052_hwmon_probe()430 err = hwmon->tsiref_mv; in da9052_hwmon_probe()435 hwmon->tsiref_mv /= 1000; in da9052_hwmon_probe()438 if (hwmon->tsiref_mv < 1800 || hwmon->tsiref_mv > 2600) { in da9052_hwmon_probe()440 hwmon->tsiref_mv); in da9052_hwmon_probe()