Home
last modified time | relevance | path

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

/linux-6.15/drivers/iio/humidity/
H A Dhdc3020.c446 s64 s_clr; in hdc3020_thresh_clr() local
454 s_clr = s_thresh - s_hyst; in hdc3020_thresh_clr()
456 s_clr = s_thresh + s_hyst; in hdc3020_thresh_clr()
459 return div_s64(s_clr, 65535); in hdc3020_thresh_clr()
482 s64 s_thresh, s_hyst, s_clr; in hdc3020_write_thresh() local
546 s_clr = max(s_clr, HDC3020_MIN_TEMP_MICRO); in hdc3020_write_thresh()
547 s_clr = min(s_clr, HDC3020_MAX_TEMP_MICRO); in hdc3020_write_thresh()
549 reg_val = hdc3020_thresh_set_temp(s_clr, clr); in hdc3020_write_thresh()
587 s_clr = max(s_clr, 0); in hdc3020_write_thresh()
588 s_clr = min(s_clr, HDC3020_MAX_HUM_MICRO); in hdc3020_write_thresh()
[all …]