Searched refs:sample_value_max (Results 1 – 2 of 2) sorted by relevance
64 int sample_value_max) in ntc_get_ohm_of_thermistor() argument72 if (sample_value >= sample_value_max) { in ntc_get_ohm_of_thermistor()77 ohm = cfg->pulldown_ohm * (sample_value_max - sample_value) / sample_value; in ntc_get_ohm_of_thermistor()79 ohm = cfg->pullup_ohm * sample_value / (sample_value_max - sample_value); in ntc_get_ohm_of_thermistor()
51 int sample_value_max);