Home
last modified time | relevance | path

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

/u-boot/test/dm/
A Dadc.c32 ut_asserteq((1 << SANDBOX_ADC_CHANNELS) - 1, channel_mask); in dm_test_adc_bind()
43 ut_asserteq(-EINVAL, adc_start_channel(dev, SANDBOX_ADC_CHANNELS)); in dm_test_adc_wrong_channel_selection()
100 for (i = 0; i < SANDBOX_ADC_CHANNELS; i++, tdata++) { in dm_test_adc_single_channel_conversion()
112 struct adc_channel channels[SANDBOX_ADC_CHANNELS]; in dm_test_adc_multi_channel_conversion()
126 for (i = 0; i < SANDBOX_ADC_CHANNELS; i++, tdata++) in dm_test_adc_multi_channel_conversion()
138 for (i = 0; i < SANDBOX_ADC_CHANNELS; i++, tdata++) { in dm_test_adc_single_channel_shot()
151 struct adc_channel channels[SANDBOX_ADC_CHANNELS]; in dm_test_adc_multi_channel_shot()
162 for (i = 0; i < SANDBOX_ADC_CHANNELS; i++, tdata++) in dm_test_adc_multi_channel_shot()
169 static const int dm_test_adc_uV_data[SANDBOX_ADC_CHANNELS] = {
189 for (i = 0; i < SANDBOX_ADC_CHANNELS; i++, tdata++) { in dm_test_adc_raw_to_uV()
/u-boot/include/
A Dsandbox-adc.h12 #define SANDBOX_ADC_CHANNELS 4 macro
/u-boot/drivers/adc/
A 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_of_to_plat()

Completed in 4 milliseconds