Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/staging/iio/adc/
Dmxs-lradc.c316 #define LRADC_CH(n) (0x50 + (0x10 * (n))) macro
448 LRADC_CH(ch)); in mxs_lradc_setup_ts_channel()
454 mxs_lradc_reg_clear(lradc, LRADC_CH_VALUE_MASK, LRADC_CH(ch)); in mxs_lradc_setup_ts_channel()
507 mxs_lradc_reg_wrt(lradc, reg, LRADC_CH(ch1)); in mxs_lradc_setup_ts_pressure()
508 mxs_lradc_reg_wrt(lradc, reg, LRADC_CH(ch2)); in mxs_lradc_setup_ts_pressure()
514 mxs_lradc_reg_clear(lradc, LRADC_CH_VALUE_MASK, LRADC_CH(ch1)); in mxs_lradc_setup_ts_pressure()
515 mxs_lradc_reg_clear(lradc, LRADC_CH_VALUE_MASK, LRADC_CH(ch2)); in mxs_lradc_setup_ts_pressure()
546 reg = readl(lradc->base + LRADC_CH(channel)); in mxs_lradc_read_raw_channel()
725 mxs_lradc_reg_wrt(lradc, 0, LRADC_CH(TOUCHSCREEN_VCHANNEL1)); in mxs_lradc_complete_touch_event()
849 mxs_lradc_reg_wrt(lradc, 0, LRADC_CH(0)); in mxs_lradc_read_single()
[all …]