Home
last modified time | relevance | path

Searched refs:oversampling_humid (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/iio/chemical/
Dbme680_core.c56 u8 oversampling_humid; member
543 bme680_oversampling_to_reg(data->oversampling_humid)); in bme680_chip_config()
807 *val = data->oversampling_humid; in bme680_read_raw()
845 data->oversampling_humid = val; in bme680_write_raw()
933 data->oversampling_humid = 2; /* 2X oversampling rate */ in bme680_core_probe()
/Linux-v6.6/drivers/iio/pressure/
Dbmp280-core.c492 *val = 1 << data->oversampling_humid; in bmp280_read_raw()
549 prev = data->oversampling_humid; in bmp280_write_oversampling_ratio_humid()
550 data->oversampling_humid = ilog2(val); in bmp280_write_oversampling_ratio_humid()
554 data->oversampling_humid = prev; in bmp280_write_oversampling_ratio_humid()
833 u8 osrs = FIELD_PREP(BMP280_OSRS_HUMIDITY_MASK, data->oversampling_humid + 1); in bme280_chip_config()
2100 data->oversampling_humid = chip_info->oversampling_humid_default; in bmp280_common_probe()
Dbmp280.h383 u8 oversampling_humid; member