Lines Matching refs:hc_cfg
299 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()
778 writel(hc_cfg, info->regs + VF610_REG_ADC_HC0); in vf610_adc_buffer_predisable()
936 int hc_cfg; in vf610_adc_suspend() local
939 hc_cfg = readl(info->regs + VF610_REG_ADC_HC0); in vf610_adc_suspend()
940 hc_cfg |= VF610_ADC_CONV_DISABLE; in vf610_adc_suspend()
941 writel(hc_cfg, info->regs + VF610_REG_ADC_HC0); in vf610_adc_suspend()