Lines Matching refs:_chan
49 #define MESON_SAR_ADC_CHAN_LIST_ENTRY_MASK(_chan) \ argument
50 (GENMASK(2, 0) << ((_chan) * 3))
53 #define MESON_SAR_ADC_AVG_CNTL_AVG_MODE_SHIFT(_chan) \ argument
54 (16 + ((_chan) * 2))
55 #define MESON_SAR_ADC_AVG_CNTL_AVG_MODE_MASK(_chan) \ argument
56 (GENMASK(17, 16) << ((_chan) * 2))
57 #define MESON_SAR_ADC_AVG_CNTL_NUM_SAMPLES_SHIFT(_chan) \ argument
58 (0 + ((_chan) * 2))
59 #define MESON_SAR_ADC_AVG_CNTL_NUM_SAMPLES_MASK(_chan) \ argument
60 (GENMASK(1, 0) << ((_chan) * 2))
95 #define MESON_SAR_ADC_AUX_SW_MUX_SEL_CHAN_SHIFT(_chan) \ argument
96 (8 + (((_chan) - 2) * 3))
178 #define MESON_SAR_ADC_CHAN(_chan) { \ argument
181 .channel = _chan, \
182 .address = _chan, \
188 .datasheet_name = "SAR_ADC_CH"#_chan, \
191 #define MESON_SAR_ADC_TEMP_CHAN(_chan) { \ argument
193 .channel = _chan, \