Searched refs:adc_regs (Results 1 - 1 of 1) sorted by relevance
/linux-4.4.14/drivers/input/touchscreen/ |
H A D | imx6ul_tsc.c | 82 void __iomem *adc_regs; member in struct:imx6ul_tsc 107 adc_cfg = readl(tsc->adc_regs + REG_ADC_CFG); imx6ul_adc_init() 111 writel(adc_cfg, tsc->adc_regs + REG_ADC_CFG); imx6ul_adc_init() 116 writel(adc_hc, tsc->adc_regs + REG_ADC_HC0); imx6ul_adc_init() 119 adc_gc = readl(tsc->adc_regs + REG_ADC_GC); imx6ul_adc_init() 121 writel(adc_gc, tsc->adc_regs + REG_ADC_GC); imx6ul_adc_init() 130 adc_gs = readl(tsc->adc_regs + REG_ADC_GS); imx6ul_adc_init() 137 adc_cfg = readl(tsc->adc_regs + REG_ADC_CFG); imx6ul_adc_init() 139 writel(adc_cfg, tsc->adc_regs + REG_ADC_CFG); imx6ul_adc_init() 154 writel(adc_hc0, tsc->adc_regs + REG_ADC_HC0); imx6ul_tsc_channel_config() 157 writel(adc_hc1, tsc->adc_regs + REG_ADC_HC1); imx6ul_tsc_channel_config() 160 writel(adc_hc2, tsc->adc_regs + REG_ADC_HC2); imx6ul_tsc_channel_config() 163 writel(adc_hc3, tsc->adc_regs + REG_ADC_HC3); imx6ul_tsc_channel_config() 166 writel(adc_hc4, tsc->adc_regs + REG_ADC_HC4); imx6ul_tsc_channel_config() 221 adc_cfg = readl(tsc->adc_regs + REG_ADC_HC0); imx6ul_tsc_disable() 223 writel(adc_cfg, tsc->adc_regs + REG_ADC_HC0); imx6ul_tsc_disable() 295 coco = readl(tsc->adc_regs + REG_ADC_HS); adc_irq_fn() 297 value = readl(tsc->adc_regs + REG_ADC_R0); adc_irq_fn() 391 tsc->adc_regs = devm_ioremap_resource(&pdev->dev, adc_mem); imx6ul_tsc_probe() 392 if (IS_ERR(tsc->adc_regs)) { imx6ul_tsc_probe() 393 err = PTR_ERR(tsc->adc_regs); imx6ul_tsc_probe()
|
Completed in 36 milliseconds