Lines Matching refs:comp_press
576 static int bmp280_read_press(struct bmp280_data *data, u32 *comp_press) in bmp280_read_press() argument
590 *comp_press = bmp280_compensate_press(data, adc_press, t_fine); in bmp280_read_press()
1108 u32 adc_temp, adc_press, comp_press; in bmp280_trigger_handler() local
1140 comp_press = bmp280_compensate_press(data, adc_press, t_fine); in bmp280_trigger_handler()
1142 chans[0] = comp_press; in bmp280_trigger_handler()
1228 u32 adc_temp, adc_press, adc_humidity, comp_press, comp_humidity; in bme280_trigger_handler() local
1260 comp_press = bmp280_compensate_press(data, adc_press, t_fine); in bme280_trigger_handler()
1272 chans[0] = comp_press; in bme280_trigger_handler()
1535 u32 comp_press; in bmp380_compensate_press() local
1565 comp_press = ((u64)var4 * 25) >> 40; in bmp380_compensate_press()
1567 comp_press = clamp_val(comp_press, BMP380_MIN_PRES, BMP380_MAX_PRES); in bmp380_compensate_press()
1568 return comp_press; in bmp380_compensate_press()
1585 static int bmp380_read_press(struct bmp280_data *data, u32 *comp_press) in bmp380_read_press() argument
1598 *comp_press = bmp380_compensate_press(data, adc_press, t_fine); in bmp380_read_press()
1902 u32 adc_temp, adc_press, comp_press; in bmp380_trigger_handler() local
1934 comp_press = bmp380_compensate_press(data, adc_press, t_fine); in bmp380_trigger_handler()
1936 chans[0] = comp_press; in bmp380_trigger_handler()
2912 static int bmp180_read_press(struct bmp280_data *data, u32 *comp_press) in bmp180_read_press() argument
2926 *comp_press = bmp180_compensate_press(data, adc_press, t_fine); in bmp180_read_press()
2954 int ret, comp_temp, comp_press; in bmp180_trigger_handler() local
2964 ret = bmp180_read_press(data, &comp_press); in bmp180_trigger_handler()
2968 chans[0] = comp_press; in bmp180_trigger_handler()