Lines Matching refs:x2
205 long x1, x2; in bmp085_get_temperature() local
213 x2 = (cali->MC << 11) / (x1 + cali->MD); in bmp085_get_temperature()
214 data->b6 = x1 + x2 - 4000; in bmp085_get_temperature()
217 *temperature = (x1+x2+8) >> 4; in bmp085_get_temperature()
234 s32 x1, x2, x3, b3; in bmp085_get_pressure() local
255 x2 = cali->AC2 * data->b6; in bmp085_get_pressure()
256 x2 >>= 11; in bmp085_get_pressure()
258 x3 = x1 + x2; in bmp085_get_pressure()
264 x2 = (cali->B1 * ((data->b6 * data->b6) >> 12)) >> 16; in bmp085_get_pressure()
265 x3 = (x1 + x2 + 2) >> 2; in bmp085_get_pressure()
275 x2 = (-7357 * p) >> 16; in bmp085_get_pressure()
276 p += (x1 + x2 + 3791) >> 4; in bmp085_get_pressure()