Searched refs:adc_control (Results 1 – 1 of 1) sorted by relevance
216 unsigned int adc_control; member285 st->adc_control &= ~AD7124_ADC_CONTROL_MODE; in ad7124_set_mode()286 st->adc_control |= FIELD_PREP(AD7124_ADC_CONTROL_MODE, mode); in ad7124_set_mode()288 return ad_sd_write_reg(&st->sd, AD7124_ADC_CONTROL, 2, st->adc_control); in ad7124_set_mode()296 power_mode = FIELD_GET(AD7124_ADC_CONTROL_POWER_MODE, st->adc_control); in ad7124_get_fclk_hz()316 FIELD_GET(AD7124_ADC_CONTROL_POWER_MODE, st->adc_control); in ad7124_get_fs_factor()425 st->adc_control |= AD7124_ADC_CONTROL_REF_EN; in ad7124_init_config_vref()639 unsigned int adc_control = st->adc_control; in ad7124_append_status() local643 adc_control |= AD7124_ADC_CONTROL_DATA_STATUS; in ad7124_append_status()645 adc_control &= ~AD7124_ADC_CONTROL_DATA_STATUS; in ad7124_append_status()[all …]