Searched refs:LRADC_CH (Results 1 – 1 of 1) sorted by relevance
| /linux-4.4.14/drivers/staging/iio/adc/ |
| D | mxs-lradc.c | 312 #define LRADC_CH(n) (0x50 + (0x10 * (n))) macro 444 LRADC_CH(ch)); in mxs_lradc_setup_ts_channel() 450 mxs_lradc_reg_clear(lradc, LRADC_CH_VALUE_MASK, LRADC_CH(ch)); in mxs_lradc_setup_ts_channel() 504 mxs_lradc_reg_wrt(lradc, reg, LRADC_CH(ch1)); in mxs_lradc_setup_ts_pressure() 505 mxs_lradc_reg_wrt(lradc, reg, LRADC_CH(ch2)); in mxs_lradc_setup_ts_pressure() 511 mxs_lradc_reg_clear(lradc, LRADC_CH_VALUE_MASK, LRADC_CH(ch1)); in mxs_lradc_setup_ts_pressure() 512 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() 727 mxs_lradc_reg_wrt(lradc, 0, LRADC_CH(TOUCHSCREEN_VCHANNEL1)); in mxs_lradc_complete_touch_event() 860 mxs_lradc_reg_wrt(lradc, 0, LRADC_CH(0)); in mxs_lradc_read_single() [all …]
|