Lines Matching refs:lradc
42 struct mxs_lradc *lradc; member
274 struct mxs_lradc *lradc = ts->lradc; in mxs_lradc_setup_touch_detection() local
282 writel(info[lradc->soc].mask, in mxs_lradc_setup_touch_detection()
284 writel(info[lradc->soc].bit, in mxs_lradc_setup_touch_detection()
302 struct mxs_lradc *lradc = ts->lradc; in mxs_lradc_prepare_x_pos() local
304 writel(info[lradc->soc].mask, in mxs_lradc_prepare_x_pos()
306 writel(info[lradc->soc].x_plate, in mxs_lradc_prepare_x_pos()
328 struct mxs_lradc *lradc = ts->lradc; in mxs_lradc_prepare_y_pos() local
330 writel(info[lradc->soc].mask, in mxs_lradc_prepare_y_pos()
332 writel(info[lradc->soc].y_plate, in mxs_lradc_prepare_y_pos()
354 struct mxs_lradc *lradc = ts->lradc; in mxs_lradc_prepare_pressure() local
356 writel(info[lradc->soc].mask, in mxs_lradc_prepare_pressure()
358 writel(info[lradc->soc].pressure, in mxs_lradc_prepare_pressure()
496 struct mxs_lradc *lradc = ts->lradc; in mxs_lradc_ts_handle_irq() local
498 u32 clr_irq = mxs_lradc_irq_mask(lradc); in mxs_lradc_ts_handle_irq()
505 if (!(reg & mxs_lradc_irq_mask(lradc))) in mxs_lradc_ts_handle_irq()
535 struct mxs_lradc *lradc = ts->lradc; in mxs_lradc_ts_stop() local
544 writel(info[lradc->soc].mask, in mxs_lradc_ts_stop()
547 writel(lradc->buffer_vchans << LRADC_CTRL1_LRADC_IRQ_EN_OFFSET, in mxs_lradc_ts_stop()
563 struct mxs_lradc *lradc = ts->lradc; in mxs_lradc_ts_hw_init() local
566 if (lradc->soc == IMX28_LRADC) { in mxs_lradc_ts_hw_init()
570 if (lradc->touchscreen_wire == MXS_LRADC_TOUCHSCREEN_5WIRE) in mxs_lradc_ts_hw_init()
607 struct mxs_lradc *lradc = dev_get_drvdata(dev->parent); in mxs_lradc_ts_probe() local
618 ts->lradc = lradc; in mxs_lradc_ts_probe()