Home
last modified time | relevance | path

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

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

Completed in 4 milliseconds