Home
last modified time | relevance | path

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

/drivers/iio/humidity/
Dhts221_core.c261 int err, *slope, *b_gen, cal0, cal1; in hts221_parse_temp_caldata() local
265 err = regmap_read(hw->regmap, HTS221_REG_0T_CAL_Y_H, &cal0); in hts221_parse_temp_caldata()
272 cal_y0 = ((cal1 & 0x3) << 8) | cal0; in hts221_parse_temp_caldata()
274 err = regmap_read(hw->regmap, HTS221_REG_1T_CAL_Y_H, &cal0); in hts221_parse_temp_caldata()
277 cal_y1 = (((cal1 & 0xc) >> 2) << 8) | cal0; in hts221_parse_temp_caldata()