Searched refs:gas_range (Results 1 – 1 of 1) sorted by relevance
150 static void bme680_calc_gas_resistance(struct bme680_data *data, uint8_t gas_range, in bme680_calc_gas_resistance() argument168 ((int64_t)look_up1[gas_range])) >> 16; in bme680_calc_gas_resistance()170 var3 = (((int64_t)look_up2[gas_range] * (int64_t)var1) >> 9); in bme680_calc_gas_resistance()221 uint8_t gas_range; in bme680_sample_fetch() local262 gas_range = data_regs.gas[1] & BME680_MSK_GAS_RANGE; in bme680_sample_fetch()267 bme680_calc_gas_resistance(data, gas_range, adc_gas_res); in bme680_sample_fetch()