Searched refs:s_clr (Results 1 – 1 of 1) sorted by relevance
455 s64 s_clr; in hdc3020_thresh_clr() local463 s_clr = s_thresh - s_hyst; in hdc3020_thresh_clr()465 s_clr = s_thresh + s_hyst; in hdc3020_thresh_clr()468 return div_s64(s_clr, HDC3020_THRESH_FRACTION); in hdc3020_thresh_clr()491 s64 s_thresh, s_hyst, s_clr; in hdc3020_write_thresh() local534 s_clr = (s64)hdc3020_thresh_get_temp(clr) * 1000000; in hdc3020_write_thresh()535 s_hyst = div_s64(abs(s_thresh - s_clr), in hdc3020_write_thresh()556 s_clr = hdc3020_thresh_clr(s_thresh, s_hyst, dir); in hdc3020_write_thresh()557 s_clr = max(s_clr, HDC3020_MIN_TEMP_MICRO); in hdc3020_write_thresh()558 s_clr = min(s_clr, HDC3020_MAX_TEMP_MICRO); in hdc3020_write_thresh()[all …]