Lines Matching refs:writel

100 	writel(LRADC_CTRL4_LRADCSELECT_MASK(vch),  in mxs_lradc_map_ts_channel()
102 writel(LRADC_CTRL4_LRADCSELECT(vch, ch), in mxs_lradc_map_ts_channel()
116 writel(LRADC_CH_ACCUMULATE | in mxs_lradc_setup_ts_channel()
124 writel(LRADC_CH_VALUE_MASK, in mxs_lradc_setup_ts_channel()
135 writel(LRADC_DELAY_TRIGGER(1 << ch) | LRADC_DELAY_TRIGGER_DELAYS(0) | in mxs_lradc_setup_ts_channel()
140 writel(LRADC_CTRL1_LRADC_IRQ(ch), in mxs_lradc_setup_ts_channel()
149 writel(LRADC_DELAY_TRIGGER(0) | LRADC_DELAY_TRIGGER_DELAYS(BIT(3)) | in mxs_lradc_setup_ts_channel()
175 writel(reg, ts->base + LRADC_CH(ch1)); in mxs_lradc_setup_ts_pressure()
176 writel(reg, ts->base + LRADC_CH(ch2)); in mxs_lradc_setup_ts_pressure()
182 writel(LRADC_CH_VALUE_MASK, in mxs_lradc_setup_ts_pressure()
184 writel(LRADC_CH_VALUE_MASK, in mxs_lradc_setup_ts_pressure()
188 writel(LRADC_DELAY_TRIGGER(1 << ch1) | LRADC_DELAY_TRIGGER(1 << ch2) | in mxs_lradc_setup_ts_pressure()
194 writel(LRADC_CTRL1_LRADC_IRQ(ch2), in mxs_lradc_setup_ts_pressure()
203 writel(LRADC_DELAY_TRIGGER(0) | LRADC_DELAY_TRIGGER_DELAYS(BIT(3)) | in mxs_lradc_setup_ts_pressure()
282 writel(info[lradc->soc].mask, in mxs_lradc_setup_touch_detection()
284 writel(info[lradc->soc].bit, in mxs_lradc_setup_touch_detection()
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()
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()
356 writel(info[lradc->soc].mask, in mxs_lradc_prepare_pressure()
358 writel(info[lradc->soc].pressure, in mxs_lradc_prepare_pressure()
373 writel(LRADC_CTRL1_TOUCH_DETECT_IRQ | LRADC_CTRL1_TOUCH_DETECT_IRQ_EN, in mxs_lradc_enable_touch_detection()
375 writel(LRADC_CTRL1_TOUCH_DETECT_IRQ_EN, in mxs_lradc_enable_touch_detection()
381 writel(LRADC_CTRL1_TOUCH_DETECT_IRQ_EN, in mxs_lradc_start_touch_event()
383 writel(LRADC_CTRL1_LRADC_IRQ_EN(TOUCHSCREEN_VCHANNEL1), in mxs_lradc_start_touch_event()
409 writel(0, ts->base + LRADC_CH(TOUCHSCREEN_VCHANNEL1)); in mxs_lradc_complete_touch_event()
410 writel(LRADC_CTRL1_LRADC_IRQ(TOUCHSCREEN_VCHANNEL1) | in mxs_lradc_complete_touch_event()
413 writel(LRADC_DELAY_TRIGGER(1 << TOUCHSCREEN_VCHANNEL1) | in mxs_lradc_complete_touch_event()
445 writel(0, ts->base + LRADC_DELAY(2)); in mxs_lradc_finish_touch_event()
446 writel(0, ts->base + LRADC_DELAY(3)); in mxs_lradc_finish_touch_event()
447 writel(LRADC_CTRL1_TOUCH_DETECT_IRQ | in mxs_lradc_finish_touch_event()
451 writel(LRADC_CTRL1_TOUCH_DETECT_IRQ_EN, in mxs_lradc_finish_touch_event()
462 writel(LRADC_CTRL1_TOUCH_DETECT_IRQ, in mxs_lradc_handle_touch()
515 writel(reg & clr_irq, in mxs_lradc_ts_handle_irq()
538 writel(LRADC_CTRL1_TOUCH_DETECT_IRQ_EN | in mxs_lradc_ts_stop()
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()
551 writel(0, ts->base + LRADC_DELAY(i)); in mxs_lradc_ts_stop()
567 writel(LRADC_CTRL0_MX28_TOUCH_SCREEN_TYPE, in mxs_lradc_ts_hw_init()
571 writel(LRADC_CTRL0_MX28_TOUCH_SCREEN_TYPE, in mxs_lradc_ts_hw_init()