Searched refs:cal_y0 (Results 1 – 1 of 1) sorted by relevance
262 s16 cal_x0, cal_x1, cal_y0, cal_y1; in hts221_parse_temp_caldata() local272 cal_y0 = ((cal1 & 0x3) << 8) | cal0; in hts221_parse_temp_caldata()294 *slope = ((cal_y1 - cal_y0) * 8000) / (cal_x1 - cal_x0); in hts221_parse_temp_caldata()295 *b_gen = (((s32)cal_x1 * cal_y0 - (s32)cal_x0 * cal_y1) * 1000) / in hts221_parse_temp_caldata()305 s16 cal_x0, cal_x1, cal_y0, cal_y1; in hts221_parse_rh_caldata() local311 cal_y0 = data; in hts221_parse_rh_caldata()333 *slope = ((cal_y1 - cal_y0) * 8000) / (cal_x1 - cal_x0); in hts221_parse_rh_caldata()334 *b_gen = (((s32)cal_x1 * cal_y0 - (s32)cal_x0 * cal_y1) * 1000) / in hts221_parse_rh_caldata()