Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/adc/
H A Dvf610_adc.c299 int adc_gc, hc_cfg; in vf610_adc_calibration() local
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()
936 int hc_cfg; in vf610_adc_suspend() local
[all …]