Lines Matching refs:adc_humidity
412 static int bme280_read_humid_adc(struct bmp280_data *data, u16 *adc_humidity) in bme280_read_humid_adc() argument
429 *adc_humidity = value_humidity; in bme280_read_humid_adc()
441 u16 adc_humidity, s32 t_fine) in bme280_compensate_humidity() argument
447 var = (((((s32)adc_humidity << 14) - (calib->H4 << 20) - (calib->H5 * var)) in bme280_compensate_humidity()
609 u16 adc_humidity; in bme280_read_humid() local
617 ret = bme280_read_humid_adc(data, &adc_humidity); in bme280_read_humid()
621 *comp_humidity = bme280_compensate_humidity(data, adc_humidity, t_fine); in bme280_read_humid()
1131 s32 adc_temp, adc_press, adc_humidity, t_fine; in bme280_trigger_handler() local
1165 adc_humidity = get_unaligned_be16(&data->buf[6]); in bme280_trigger_handler()
1167 if (adc_humidity == BMP280_HUMIDITY_SKIPPED) { in bme280_trigger_handler()
1171 data->sensor_data[2] = bme280_compensate_humidity(data, adc_humidity, t_fine); in bme280_trigger_handler()