Home
last modified time | relevance | path

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

/external/u-boot/test/dm/
Dadc.c31 ut_asserteq((1 << SANDBOX_ADC_CHANNELS) - 1, channel_mask); in dm_test_adc_bind()
42 ut_asserteq(-EINVAL, adc_start_channel(dev, SANDBOX_ADC_CHANNELS)); in dm_test_adc_wrong_channel_selection()
99 for (i = 0; i < SANDBOX_ADC_CHANNELS; i++, tdata++) { in dm_test_adc_single_channel_conversion()
111 struct adc_channel channels[SANDBOX_ADC_CHANNELS]; in dm_test_adc_multi_channel_conversion()
125 for (i = 0; i < SANDBOX_ADC_CHANNELS; i++, tdata++) in dm_test_adc_multi_channel_conversion()
137 for (i = 0; i < SANDBOX_ADC_CHANNELS; i++, tdata++) { in dm_test_adc_single_channel_shot()
150 struct adc_channel channels[SANDBOX_ADC_CHANNELS]; in dm_test_adc_multi_channel_shot()
161 for (i = 0; i < SANDBOX_ADC_CHANNELS; i++, tdata++) in dm_test_adc_multi_channel_shot()
168 static const int dm_test_adc_uV_data[SANDBOX_ADC_CHANNELS] = {
188 for (i = 0; i < SANDBOX_ADC_CHANNELS; i++, tdata++) { in dm_test_adc_raw_to_uV()
/external/u-boot/drivers/adc/
Dsandbox.c96 for (i = 0; i < SANDBOX_ADC_CHANNELS; i++) { in sandbox_adc_channels_data()
147 uc_pdata->channel_mask = (1 << SANDBOX_ADC_CHANNELS) - 1; in sandbox_adc_ofdata_to_platdata()
/external/u-boot/include/
Dsandbox-adc.h12 #define SANDBOX_ADC_CHANNELS 4 macro