Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/humidity/
H A Dhts221_core.c261 int err, *slope, *b_gen, cal0, cal1; in hts221_parse_temp_caldata() local
269 err = regmap_read(hw->regmap, HTS221_REG_T1_T0_CAL_Y_H, &cal1); in hts221_parse_temp_caldata()
272 cal_y0 = ((cal1 & 0x3) << 8) | cal0; in hts221_parse_temp_caldata()
277 cal_y1 = (((cal1 & 0xc) >> 2) << 8) | cal0; in hts221_parse_temp_caldata()