Home
last modified time | relevance | path

Searched full:puv (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-6.6/drivers/hwmon/
Dntc_thermistor.c385 u32 puv = data->pullup_uv; in get_ohm_of_thermistor() local
393 if (uv >= puv) in get_ohm_of_thermistor()
398 n = div_u64(pdo * (puv - uv), uv); in get_ohm_of_thermistor()
400 n = div_u64(puo * uv, puv - uv); in get_ohm_of_thermistor()
402 n = div64_u64_safe(pdo * puo * (puv - uv), in get_ohm_of_thermistor()
403 puo * uv - pdo * (puv - uv)); in get_ohm_of_thermistor()
405 n = div64_u64_safe(pdo * puo * uv, pdo * (puv - uv) - puo * uv); in get_ohm_of_thermistor()
/kernel/linux/linux-5.10/drivers/hwmon/
Dntc_thermistor.c448 u32 puv = pdata->pullup_uv; in get_ohm_of_thermistor() local
456 if (uv >= puv) in get_ohm_of_thermistor()
461 n = div_u64(pdo * (puv - uv), uv); in get_ohm_of_thermistor()
463 n = div_u64(puo * uv, puv - uv); in get_ohm_of_thermistor()
465 n = div64_u64_safe(pdo * puo * (puv - uv), in get_ohm_of_thermistor()
466 puo * uv - pdo * (puv - uv)); in get_ohm_of_thermistor()
468 n = div64_u64_safe(pdo * puo * uv, pdo * (puv - uv) - puo * uv); in get_ohm_of_thermistor()
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/hwmon/
Dntc-thermistor.yaml22 + e.g. 5V = pull-up voltage (puv)