Home
last modified time | relevance | path

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

/linux/drivers/iio/chemical/
H A Dbme680_core.c790 u16 adc_gas_res, gas_regs_val; in bme680_read_gas() local
806 gas_regs_val = be16_to_cpu(data->be16); in bme680_read_gas()
807 adc_gas_res = FIELD_GET(BME680_ADC_GAS_RES, gas_regs_val); in bme680_read_gas()
815 if ((gas_regs_val & BME680_GAS_STAB_BIT) == 0) { in bme680_read_gas()
820 gas_range = FIELD_GET(BME680_GAS_RANGE_MASK, gas_regs_val); in bme680_read_gas()
1060 u16 adc_gas_res, gas_regs_val; in bme680_trigger_handler() local
1112 gas_regs_val = get_unaligned_be16(&data->buf[13]); in bme680_trigger_handler()
1113 adc_gas_res = FIELD_GET(BME680_ADC_GAS_RES, gas_regs_val); in bme680_trigger_handler()
1114 if ((gas_regs_val & BME680_GAS_STAB_BIT) == 0) { in bme680_trigger_handler()
1118 gas_range = FIELD_GET(BME680_GAS_RANGE_MASK, gas_regs_val); in bme680_trigger_handler()