Lines Matching full:65535
382 * datasheet. Result is degree celsius scaled by 65535. in hdc3020_thresh_get_temp()
398 * percent scaled by 65535. in hdc3020_thresh_get_hum()
416 temp = (u64)(s_temp + 45000000) * 65535ULL; in hdc3020_thresh_set_temp()
435 hum = (u64)(s_hum) * 65535ULL; in hdc3020_thresh_set_hum()
458 /* Divide by 65535 to get units of micro */ in hdc3020_thresh_clr()
459 return div_s64(s_clr, 65535); in hdc3020_thresh_clr()
526 s_hyst = div_s64(abs(s_thresh - s_clr), 65535); in hdc3020_write_thresh()
535 * in degree celsius scaled by 65535. Scale by 1000000 in hdc3020_write_thresh()
541 * 65535 to get same units as s_thresh. in hdc3020_write_thresh()
544 s_hyst = (s64)s_val * 65535; in hdc3020_write_thresh()
568 s_hyst = div_s64(abs(s_thresh - s_clr), 65535); in hdc3020_write_thresh()
577 * humidity in percent scaled by 65535. Scale by 1000000 in hdc3020_write_thresh()
582 * Units of s_val are in micro percent, scale by 65535 in hdc3020_write_thresh()
585 s_hyst = (s64)s_val * 65535; in hdc3020_write_thresh()
646 *val2 = 65535; in hdc3020_read_thresh()
665 *val2 = 65535; in hdc3020_read_thresh()