Searched refs:p_lut (Results 1 – 1 of 1) sorted by relevance
283 int32_t p_lut[3]; in icp10100_get_pressure() local295 p_lut[0] = lut_lower + (int32_t)div_s64(val1, inv_quadr_factor); in icp10100_get_pressure()297 p_lut[1] = offset_factor * st->cal[3] + in icp10100_get_pressure()300 p_lut[2] = lut_upper + (int32_t)div_s64(val1, inv_quadr_factor); in icp10100_get_pressure()302 p_lut[0], p_lut[1], p_lut[2]); in icp10100_get_pressure()305 val1 = (int64_t)p_lut[0] * (int64_t)p_lut[1] * in icp10100_get_pressure()307 (int64_t)p_lut[1] * (int64_t)p_lut[2] * in icp10100_get_pressure()309 (int64_t)p_lut[2] * (int64_t)p_lut[0] * in icp10100_get_pressure()311 val2 = (int64_t)p_lut[2] * (int64_t)(p_calib[0] - p_calib[1]) + in icp10100_get_pressure()312 (int64_t)p_lut[0] * (int64_t)(p_calib[1] - p_calib[2]) + in icp10100_get_pressure()[all …]