Searched refs:adc_control (Results 1 – 1 of 1) sorted by relevance
156 unsigned int adc_control; member234 st->adc_control &= ~AD7124_ADC_CTRL_MODE_MSK; in ad7124_set_mode()235 st->adc_control |= AD7124_ADC_CTRL_MODE(mode); in ad7124_set_mode()237 return ad_sd_write_reg(&st->sd, AD7124_ADC_CONTROL, 2, st->adc_control); in ad7124_set_mode()571 st->adc_control &= ~AD7124_ADC_CTRL_REF_EN_MSK; in ad7124_init_channel_vref()572 st->adc_control |= AD7124_ADC_CTRL_REF_EN(1); in ad7124_init_channel_vref()574 2, st->adc_control); in ad7124_init_channel_vref()680 st->adc_control &= ~AD7124_ADC_CTRL_PWR_MSK; in ad7124_setup()681 st->adc_control |= AD7124_ADC_CTRL_PWR(power_mode); in ad7124_setup()682 ret = ad_sd_write_reg(&st->sd, AD7124_ADC_CONTROL, 2, st->adc_control); in ad7124_setup()