Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/drivers/iio/adc/
Dmxs-lradc-adc.c173 writel(0, adc->base + LRADC_CH(0)); in mxs_lradc_adc_read_single()
188 *val = readl(adc->base + LRADC_CH(0)) & LRADC_CH_VALUE_MASK; in mxs_lradc_adc_read_single()
423 adc->buffer[j] = readl(adc->base + LRADC_CH(j)); in mxs_lradc_adc_trigger_handler()
424 writel(chan_value, adc->base + LRADC_CH(j)); in mxs_lradc_adc_trigger_handler()
505 writel(chan_value, adc->base + LRADC_CH(ofs)); in mxs_lradc_adc_buffer_preenable()
/linux-5.19.10/include/linux/mfd/
Dmxs-lradc.h70 #define LRADC_CH(n) (0x50 + (0x10 * (n))) macro