Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/iio/humidity/
Dhts221_core.c268 int err, *slope, *b_gen, cal0, cal1; in hts221_parse_temp_caldata() local
299 b_gen = &hw->sensors[HTS221_SENSOR_T].b_gen; in hts221_parse_temp_caldata()
302 *b_gen = (((s32)cal_x1 * cal_y0 - (s32)cal_x0 * cal_y1) * 1000) / in hts221_parse_temp_caldata()
304 *b_gen *= 8; in hts221_parse_temp_caldata()
311 int err, *slope, *b_gen, data; in hts221_parse_rh_caldata() local
338 b_gen = &hw->sensors[HTS221_SENSOR_H].b_gen; in hts221_parse_rh_caldata()
341 *b_gen = (((s32)cal_x1 * cal_y0 - (s32)cal_x0 * cal_y1) * 1000) / in hts221_parse_rh_caldata()
343 *b_gen *= 8; in hts221_parse_rh_caldata()
386 data = hw->sensors[HTS221_SENSOR_H].b_gen; in hts221_get_sensor_offset()
390 data = hw->sensors[HTS221_SENSOR_T].b_gen; in hts221_get_sensor_offset()
Dhts221.h26 int slope, b_gen; member