Lines Matching refs:adc_regs
86 void __iomem *adc_regs; member
113 adc_cfg = readl(tsc->adc_regs + REG_ADC_CFG); in imx6ul_adc_init()
123 writel(adc_cfg, tsc->adc_regs + REG_ADC_CFG); in imx6ul_adc_init()
128 writel(adc_hc, tsc->adc_regs + REG_ADC_HC0); in imx6ul_adc_init()
131 adc_gc = readl(tsc->adc_regs + REG_ADC_GC); in imx6ul_adc_init()
135 writel(adc_gc, tsc->adc_regs + REG_ADC_GC); in imx6ul_adc_init()
144 adc_gs = readl(tsc->adc_regs + REG_ADC_GS); in imx6ul_adc_init()
151 adc_cfg = readl(tsc->adc_regs + REG_ADC_CFG); in imx6ul_adc_init()
153 writel(adc_cfg, tsc->adc_regs + REG_ADC_CFG); in imx6ul_adc_init()
168 writel(adc_hc0, tsc->adc_regs + REG_ADC_HC0); in imx6ul_tsc_channel_config()
171 writel(adc_hc1, tsc->adc_regs + REG_ADC_HC1); in imx6ul_tsc_channel_config()
174 writel(adc_hc2, tsc->adc_regs + REG_ADC_HC2); in imx6ul_tsc_channel_config()
177 writel(adc_hc3, tsc->adc_regs + REG_ADC_HC3); in imx6ul_tsc_channel_config()
180 writel(adc_hc4, tsc->adc_regs + REG_ADC_HC4); in imx6ul_tsc_channel_config()
235 adc_cfg = readl(tsc->adc_regs + REG_ADC_HC0); in imx6ul_tsc_disable()
237 writel(adc_cfg, tsc->adc_regs + REG_ADC_HC0); in imx6ul_tsc_disable()
308 coco = readl(tsc->adc_regs + REG_ADC_HS); in adc_irq_fn()
310 readl(tsc->adc_regs + REG_ADC_R0); in adc_irq_fn()
422 tsc->adc_regs = devm_platform_ioremap_resource(pdev, 1); in imx6ul_tsc_probe()
423 if (IS_ERR(tsc->adc_regs)) { in imx6ul_tsc_probe()
424 err = PTR_ERR(tsc->adc_regs); in imx6ul_tsc_probe()