Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/pressure/
H A Dicp10100.c277 static int32_t p_calib[] = {45000, 80000, 105000}; in icp10100_get_pressure() local
306 (int64_t)(p_calib[0] - p_calib[1]) + in icp10100_get_pressure()
308 (int64_t)(p_calib[1] - p_calib[2]) + in icp10100_get_pressure()
310 (int64_t)(p_calib[2] - p_calib[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()
313 (int64_t)p_lut[1] * (int64_t)(p_calib[2] - p_calib[0]); in icp10100_get_pressure()
317 val1 = (int64_t)p_calib[0] * (int64_t)p_lut[0] - in icp10100_get_pressure()
318 (int64_t)p_calib[1] * (int64_t)p_lut[1] - in icp10100_get_pressure()
319 (int64_t)(p_calib[1] - p_calib[0]) * c; in icp10100_get_pressure()
[all …]