Home
last modified time | relevance | path

Searched refs:hc_cfg (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/iio/adc/
Dvf610_adc.c299 int adc_gc, hc_cfg; in vf610_adc_calibration() local
305 hc_cfg = VF610_ADC_AIEN | VF610_ADC_CONV_DISABLE; in vf610_adc_calibration()
306 writel(hc_cfg, info->regs + VF610_REG_ADC_HC0); in vf610_adc_calibration()
633 unsigned int hc_cfg; in vf610_read_sample() local
642 hc_cfg = VF610_ADC_ADCHC(chan->channel); in vf610_read_sample()
643 hc_cfg |= VF610_ADC_AIEN; in vf610_read_sample()
644 writel(hc_cfg, info->regs + VF610_REG_ADC_HC0); in vf610_read_sample()
768 unsigned int hc_cfg = 0; in vf610_adc_buffer_predisable() local
775 hc_cfg |= VF610_ADC_CONV_DISABLE; in vf610_adc_buffer_predisable()
776 hc_cfg &= ~VF610_ADC_AIEN; in vf610_adc_buffer_predisable()
[all …]