Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/iio/humidity/
Dhts221_core.c260 int err, *slope, *b_gen, cal0, cal1; in hts221_parse_temp_caldata() local
268 err = regmap_read(hw->regmap, HTS221_REG_T1_T0_CAL_Y_H, &cal1); in hts221_parse_temp_caldata()
271 cal_y0 = ((cal1 & 0x3) << 8) | cal0; in hts221_parse_temp_caldata()
276 cal_y1 = (((cal1 & 0xc) >> 2) << 8) | cal0; in hts221_parse_temp_caldata()