Searched refs:tsc_regs (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/input/touchscreen/
H A Dimx6ul_tsc.c81 void __iomem *tsc_regs; member in struct:imx6ul_tsc
181 writel(basic_setting, tsc->tsc_regs + REG_TSC_BASIC_SETING); imx6ul_tsc_set()
183 writel(DE_GLITCH_2, tsc->tsc_regs + REG_TSC_DEBUG_MODE2); imx6ul_tsc_set()
185 writel(tsc->pre_charge_time, tsc->tsc_regs + REG_TSC_PRE_CHARGE_TIME); imx6ul_tsc_set()
186 writel(MEASURE_INT_EN, tsc->tsc_regs + REG_TSC_INT_EN); imx6ul_tsc_set()
188 tsc->tsc_regs + REG_TSC_INT_SIG_EN); imx6ul_tsc_set()
191 start = readl(tsc->tsc_regs + REG_TSC_FLOW_CONTROL); imx6ul_tsc_set()
194 writel(start, tsc->tsc_regs + REG_TSC_FLOW_CONTROL); imx6ul_tsc_set()
216 tsc_flow = readl(tsc->tsc_regs + REG_TSC_FLOW_CONTROL); imx6ul_tsc_disable()
218 writel(tsc_flow, tsc->tsc_regs + REG_TSC_FLOW_CONTROL); imx6ul_tsc_disable()
238 debug_mode2 = readl(tsc->tsc_regs + REG_TSC_DEBUG_MODE2); tsc_wait_detect_mode()
254 status = readl(tsc->tsc_regs + REG_TSC_INT_STATUS); tsc_irq_fn()
258 tsc->tsc_regs + REG_TSC_INT_STATUS); tsc_irq_fn()
261 start = readl(tsc->tsc_regs + REG_TSC_FLOW_CONTROL); tsc_irq_fn()
263 writel(start, tsc->tsc_regs + REG_TSC_FLOW_CONTROL); tsc_irq_fn()
266 value = readl(tsc->tsc_regs + REG_TSC_MEASURE_VALUE); tsc_irq_fn()
383 tsc->tsc_regs = devm_ioremap_resource(&pdev->dev, tsc_mem); imx6ul_tsc_probe()
384 if (IS_ERR(tsc->tsc_regs)) { imx6ul_tsc_probe()
385 err = PTR_ERR(tsc->tsc_regs); imx6ul_tsc_probe()

Completed in 164 milliseconds