Home
last modified time | relevance | path

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

/openbmc/linux/drivers/input/touchscreen/
H A Dimx6ul_tsc.c106 u32 adc_gc; in imx6ul_adc_init() local
131 adc_gc = readl(tsc->adc_regs + REG_ADC_GC); in imx6ul_adc_init()
132 adc_gc |= ADC_CAL; in imx6ul_adc_init()
134 adc_gc |= ADC_AVGE; in imx6ul_adc_init()
135 writel(adc_gc, tsc->adc_regs + REG_ADC_GC); in imx6ul_adc_init()
/openbmc/linux/drivers/iio/adc/
H A Dvf610_adc.c299 int adc_gc, hc_cfg; in vf610_adc_calibration() local
308 adc_gc = readl(info->regs + VF610_REG_ADC_GC); in vf610_adc_calibration()
309 writel(adc_gc | VF610_ADC_CAL, info->regs + VF610_REG_ADC_GC); in vf610_adc_calibration()
314 adc_gc = readl(info->regs + VF610_REG_ADC_GS); in vf610_adc_calibration()
315 if (adc_gc & VF610_ADC_CALF) in vf610_adc_calibration()