Lines Matching refs:p
344 s64 var1, var2, p; in bmp280_compensate_press() local
357 p = ((((s64)1048576 - adc_press) << 31) - var2) * 3125; in bmp280_compensate_press()
358 p = div64_s64(p, var1); in bmp280_compensate_press()
359 var1 = (((s64)calib->P9) * (p >> 13) * (p >> 13)) >> 25; in bmp280_compensate_press()
360 var2 = ((s64)(calib->P8) * p) >> 19; in bmp280_compensate_press()
361 p = ((p + var1 + var2) >> 8) + (((s64)calib->P7) << 4); in bmp280_compensate_press()
363 return (u32)p; in bmp280_compensate_press()
1948 s32 x1, x2, x3, p; in bmp180_compensate_press() local
1963 p = (b7 * 2) / b4; in bmp180_compensate_press()
1965 p = (b7 / b4) * 2; in bmp180_compensate_press()
1967 x1 = (p >> 8) * (p >> 8); in bmp180_compensate_press()
1969 x2 = (-7357 * p) >> 16; in bmp180_compensate_press()
1971 return p + ((x1 + x2 + 3791) >> 4); in bmp180_compensate_press()