Searched refs:b_gen (Results 1 – 2 of 2) sorted by relevance
267 int err, *slope, *b_gen, cal0, cal1; in hts221_parse_temp_caldata() local298 b_gen = &hw->sensors[HTS221_SENSOR_T].b_gen; in hts221_parse_temp_caldata()301 *b_gen = (((s32)cal_x1 * cal_y0 - (s32)cal_x0 * cal_y1) * 1000) / in hts221_parse_temp_caldata()303 *b_gen *= 8; in hts221_parse_temp_caldata()310 int err, *slope, *b_gen, data; in hts221_parse_rh_caldata() local337 b_gen = &hw->sensors[HTS221_SENSOR_H].b_gen; in hts221_parse_rh_caldata()340 *b_gen = (((s32)cal_x1 * cal_y0 - (s32)cal_x0 * cal_y1) * 1000) / in hts221_parse_rh_caldata()342 *b_gen *= 8; in hts221_parse_rh_caldata()385 data = hw->sensors[HTS221_SENSOR_H].b_gen; in hts221_get_sensor_offset()389 data = hw->sensors[HTS221_SENSOR_T].b_gen; in hts221_get_sensor_offset()
27 int slope, b_gen; member