Home
last modified time | relevance | path

Searched refs:LRADC_CH (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/input/touchscreen/
Dmxs-lradc-ts.c118 ts->base + LRADC_CH(ch)); in mxs_lradc_setup_ts_channel()
125 ts->base + LRADC_CH(ch) + STMP_OFFSET_REG_CLR); 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()
183 ts->base + LRADC_CH(ch1) + STMP_OFFSET_REG_CLR); in mxs_lradc_setup_ts_pressure()
185 ts->base + LRADC_CH(ch2) + STMP_OFFSET_REG_CLR); in mxs_lradc_setup_ts_pressure()
214 reg = readl(ts->base + LRADC_CH(channel)); in mxs_lradc_ts_read_raw_channel()
409 writel(0, ts->base + LRADC_CH(TOUCHSCREEN_VCHANNEL1)); in mxs_lradc_complete_touch_event()
/Linux-v5.4/drivers/iio/adc/
Dmxs-lradc-adc.c172 writel(0, adc->base + LRADC_CH(0)); in mxs_lradc_adc_read_single()
187 *val = readl(adc->base + LRADC_CH(0)) & LRADC_CH_VALUE_MASK; in mxs_lradc_adc_read_single()
422 adc->buffer[j] = readl(adc->base + LRADC_CH(j)); in mxs_lradc_adc_trigger_handler()
423 writel(chan_value, adc->base + LRADC_CH(j)); in mxs_lradc_adc_trigger_handler()
504 writel(chan_value, adc->base + LRADC_CH(ofs)); in mxs_lradc_adc_buffer_preenable()
/Linux-v5.4/include/linux/mfd/
Dmxs-lradc.h70 #define LRADC_CH(n) (0x50 + (0x10 * (n))) macro