Searched refs:adc_control (Results 1 – 1 of 1) sorted by relevance
156 unsigned int adc_control; member235 st->adc_control &= ~AD7124_ADC_CTRL_MODE_MSK; in ad7124_set_mode()236 st->adc_control |= AD7124_ADC_CTRL_MODE(mode); in ad7124_set_mode()238 return ad_sd_write_reg(&st->sd, AD7124_ADC_CONTROL, 2, st->adc_control); in ad7124_set_mode()572 st->adc_control &= ~AD7124_ADC_CTRL_REF_EN_MSK; in ad7124_init_channel_vref()573 st->adc_control |= AD7124_ADC_CTRL_REF_EN(1); in ad7124_init_channel_vref()575 2, st->adc_control); in ad7124_init_channel_vref()674 st->adc_control &= ~AD7124_ADC_CTRL_PWR_MSK; in ad7124_setup()675 st->adc_control |= AD7124_ADC_CTRL_PWR(power_mode); in ad7124_setup()676 ret = ad_sd_write_reg(&st->sd, AD7124_ADC_CONTROL, 2, st->adc_control); in ad7124_setup()