Searched refs:adc_control (Results 1 – 1 of 1) sorted by relevance
215 unsigned int adc_control; member284 st->adc_control &= ~AD7124_ADC_CONTROL_MODE; in ad7124_set_mode()285 st->adc_control |= FIELD_PREP(AD7124_ADC_CONTROL_MODE, mode); in ad7124_set_mode()287 return ad_sd_write_reg(&st->sd, AD7124_ADC_CONTROL, 2, st->adc_control); in ad7124_set_mode()295 power_mode = FIELD_GET(AD7124_ADC_CONTROL_POWER_MODE, st->adc_control); in ad7124_get_fclk_hz()315 FIELD_GET(AD7124_ADC_CONTROL_POWER_MODE, st->adc_control); in ad7124_get_fs_factor()424 st->adc_control |= AD7124_ADC_CONTROL_REF_EN; in ad7124_init_config_vref()638 unsigned int adc_control = st->adc_control; in ad7124_append_status() local642 adc_control |= AD7124_ADC_CONTROL_DATA_STATUS; in ad7124_append_status()644 adc_control &= ~AD7124_ADC_CONTROL_DATA_STATUS; in ad7124_append_status()[all …]