Lines Matching defs:config
26 /* The ADS1100 has a single byte config register */
50 u8 config;
73 u8 config = (data->config & ~mask) | (value & mask);
75 if (data->config == config)
78 ret = i2c_master_send(data->client, &config, 1);
82 data->config = config;
89 return ads1100_data_rate_bits[FIELD_GET(ADS1100_DR_MASK, data->config)];
237 *val2 = 15 + FIELD_GET(ADS1100_PGA_MASK, data->config);
242 data->config)];
300 data->config = buffer[2] & ~ADS1100_CFG_ST_BSY;
402 * We'll always change the mode bit in the config register, so there is
403 * no need here to "force" a write to the config register. If the device
404 * has been power-cycled, we'll re-write its config register now.