Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/hwmon/
Dda9052-hwmon.c28 int tsiref_mv; member
69 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()