Searched refs:cal0 (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/iio/humidity/ |
H A D | hts221_core.c | 260 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()
|
/kernel/linux/linux-6.6/drivers/iio/humidity/ |
H A D | hts221_core.c | 261 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()
|
Completed in 3 milliseconds