Searched refs:adc_control (Results 1 – 1 of 1) sorted by relevance
173 unsigned int adc_control; member254 st->adc_control &= ~AD7124_ADC_CTRL_MODE_MSK; in ad7124_set_mode()255 st->adc_control |= AD7124_ADC_CTRL_MODE(mode); in ad7124_set_mode()257 return ad_sd_write_reg(&st->sd, AD7124_ADC_CONTROL, 2, st->adc_control); in ad7124_set_mode()378 st->adc_control &= ~AD7124_ADC_CTRL_REF_EN_MSK; in ad7124_init_config_vref()379 st->adc_control |= AD7124_ADC_CTRL_REF_EN(1); in ad7124_init_config_vref()381 2, st->adc_control); in ad7124_init_config_vref()527 unsigned int adc_control = st->adc_control; in ad7124_append_status() local530 adc_control &= ~AD7124_ADC_STATUS_EN_MSK; in ad7124_append_status()531 adc_control |= AD7124_ADC_STATUS_EN(append); in ad7124_append_status()[all …]