Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/adc/
H A Dti-ads1100.c33 #define ADS1100_DR_MASK GENMASK(3, 2) macro
89 return ads1100_data_rate_bits[FIELD_GET(ADS1100_DR_MASK, data->config)]; in ads1100_data_bits()
163 return ads1100_set_config_bits(data, ADS1100_DR_MASK, in ads1100_set_data_rate()
164 FIELD_PREP(ADS1100_DR_MASK, i)); in ads1100_set_data_rate()
241 *val = ads1100_data_rate[FIELD_GET(ADS1100_DR_MASK, in ads1100_read_raw()
290 buffer[0] = ADS1100_DR_MASK | ADS1100_CONTINUOUS; in ads1100_setup()
303 data->supports_data_rate = FIELD_GET(ADS1100_DR_MASK, buffer[2]) != 0; in ads1100_setup()