Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/iio/chemical/
Dbme680_core.c54 u8 oversampling_temp; member
565 bme680_oversampling_to_reg(data->oversampling_temp)) | in bme680_chip_config()
801 *val = data->oversampling_temp; in bme680_read_raw()
839 data->oversampling_temp = val; in bme680_write_raw()
935 data->oversampling_temp = 8; /* 8X oversampling rate */ in bme680_core_probe()
/Linux-v6.1/drivers/iio/pressure/
Dbmp280-core.c150 u8 oversampling_temp; member
610 *val = 1 << data->oversampling_temp; in bmp280_read_raw()
684 prev = data->oversampling_temp; in bmp280_write_oversampling_ratio_temp()
685 data->oversampling_temp = ilog2(val); in bmp280_write_oversampling_ratio_temp()
689 data->oversampling_temp = prev; in bmp280_write_oversampling_ratio_temp()
879 u8 osrs = FIELD_PREP(BMP280_OSRS_TEMP_MASK, data->oversampling_temp + 1) | in bmp280_chip_config()
1239 osrs = FIELD_PREP(BMP380_OSRS_TEMP_MASK, data->oversampling_temp) | in bmp380_chip_config()
1710 data->oversampling_temp = chip_info->oversampling_temp_default; in bmp280_common_probe()