Searched refs:hum (Results 1 – 2 of 2) sorted by relevance
398 int hum; in hdc3020_thresh_get_hum() local409 hum = FIELD_GET(HDC3020_THRESH_HUM_MASK, thresh) << in hdc3020_thresh_get_hum()412 return hum * 100 / 5; in hdc3020_thresh_get_hum()436 u64 hum; in hdc3020_thresh_set_hum() local444 hum = (u64)(s_hum) * 65535ULL; in hdc3020_thresh_set_hum()445 hum = div_u64(hum, 1000000 * 100) >> HDC3020_THRESH_HUM_TRUNC_SHIFT; in hdc3020_thresh_set_hum()446 thresh = FIELD_PREP(HDC3020_THRESH_HUM_MASK, hum); in hdc3020_thresh_set_hum()
370 At first glance, this software seems, hum, well... buggy. In fact, data appear with a