Home
last modified time | relevance | path

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

/drivers/iio/humidity/
Dhts221_core.c261 int err, *slope, *b_gen, cal0, cal1; in hts221_parse_temp_caldata() local
292 b_gen = &hw->sensors[HTS221_SENSOR_T].b_gen; in hts221_parse_temp_caldata()
295 *b_gen = (((s32)cal_x1 * cal_y0 - (s32)cal_x0 * cal_y1) * 1000) / in hts221_parse_temp_caldata()
297 *b_gen *= 8; in hts221_parse_temp_caldata()
304 int err, *slope, *b_gen, data; in hts221_parse_rh_caldata() local
331 b_gen = &hw->sensors[HTS221_SENSOR_H].b_gen; in hts221_parse_rh_caldata()
334 *b_gen = (((s32)cal_x1 * cal_y0 - (s32)cal_x0 * cal_y1) * 1000) / in hts221_parse_rh_caldata()
336 *b_gen *= 8; in hts221_parse_rh_caldata()
379 data = hw->sensors[HTS221_SENSOR_H].b_gen; in hts221_get_sensor_offset()
383 data = hw->sensors[HTS221_SENSOR_T].b_gen; in hts221_get_sensor_offset()
Dhts221.h25 int slope, b_gen; member