Home
last modified time | relevance | path

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

/drivers/iio/pressure/
Dbmp280.h84 #define BMP180_MEAS_PRESS_X(oss) ((oss) << 6 | 0x14 | BMP180_MEAS_SCO) argument
Dbmp280-core.c833 u8 oss = data->oversampling_press; in bmp180_read_adc_press() local
835 ret = bmp180_measure(data, BMP180_MEAS_PRESS_X(oss)); in bmp180_read_adc_press()
843 *val = (be32_to_cpu(tmp) >> 8) >> (8 - oss); in bmp180_read_adc_press()
858 s32 oss = data->oversampling_press; in bmp180_compensate_press() local
865 b3 = ((((s32)calib->AC1 * 4 + x3) << oss) + 2) / 4; in bmp180_compensate_press()
870 b7 = ((u32)adc_press - b3) * (50000 >> oss); in bmp180_compensate_press()