Home
last modified time | relevance | path

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

/linux/drivers/iio/chemical/
H A Dbme680_core.c102 u8 oversampling_temp; member
545 int wait_eoc_us = ((data->oversampling_temp + data->oversampling_press + in bme680_wait_for_eoc()
598 bme680_oversampling_to_reg(data->oversampling_temp)) | in bme680_chip_config()
785 *val = data->oversampling_temp; in bme680_read_raw()
825 data->oversampling_temp = val; in bme680_write_raw()
888 data->oversampling_temp = 8; /* 8X oversampling rate */ in bme680_core_probe()
/linux/drivers/iio/pressure/
H A Dbmp280-core.c718 *val = 1 << data->oversampling_temp; in bmp280_read_raw_impl()
791 prev = data->oversampling_temp; in bmp280_write_oversampling_ratio_temp()
792 data->oversampling_temp = ilog2(val); in bmp280_write_oversampling_ratio_temp()
796 data->oversampling_temp = prev; in bmp280_write_oversampling_ratio_temp()
988 u8 osrs = FIELD_PREP(BMP280_OSRS_TEMP_MASK, data->oversampling_temp + 1) | in bmp280_chip_config()
1524 osrs = FIELD_PREP(BMP380_OSRS_TEMP_MASK, data->oversampling_temp) | in bmp380_chip_config()
2115 reg_val = FIELD_PREP(BMP580_OSR_TEMP_MASK, data->oversampling_temp) | in bmp580_chip_config()
2179 data->oversampling_temp = FIELD_GET(BMP580_EFF_OSR_TEMP_MASK, tmp); in bmp580_chip_config()
2697 data->oversampling_temp = chip_info->oversampling_temp_default; in bmp280_common_probe()
H A Dbmp280.h396 u8 oversampling_temp; member