Lines Matching refs:ut_assertok

26 	ut_assertok(uclass_get_device_by_name(UCLASS_ADC, "adc", &dev));  in dm_test_adc_bind()
37 ut_assertok(uclass_get_device_by_name(UCLASS_ADC, "adc", &dev)); in dm_test_adc_wrong_channel_selection()
50 ut_assertok(uclass_get_device_by_name(UCLASS_ADC, "adc", &dev)); in dm_test_adc_supply()
53 ut_assertok(adc_vss_value(dev, &uV)); in dm_test_adc_supply()
57 ut_assertok(adc_vdd_value(dev, &uV)); in dm_test_adc_supply()
61 ut_assertok(regulator_get_by_devname(SANDBOX_BUCK2_DEVNAME, &supply)); in dm_test_adc_supply()
62 ut_assertok(regulator_set_value(supply, SANDBOX_BUCK2_SET_UV)); in dm_test_adc_supply()
66 ut_assertok(adc_vdd_value(dev, &uV)); in dm_test_adc_supply()
70 ut_assertok(regulator_set_enable(supply, false)); in dm_test_adc_supply()
73 ut_assertok(adc_start_channel(dev, 0)); in dm_test_adc_supply()
93 ut_assertok(uclass_get_device_by_name(UCLASS_ADC, "adc", &dev)); in dm_test_adc_single_channel_conversion()
96 ut_assertok(adc_start_channel(dev, tdata->id)); in dm_test_adc_single_channel_conversion()
97 ut_assertok(adc_channel_data(dev, tdata->id, &data)); in dm_test_adc_single_channel_conversion()
116 ut_assertok(uclass_get_device_by_name(UCLASS_ADC, "adc", &dev)); in dm_test_adc_multi_channel_conversion()
117 ut_assertok(adc_start_channels(dev, channel_mask)); in dm_test_adc_multi_channel_conversion()
118 ut_assertok(adc_channels_data(dev, channel_mask, channels)); in dm_test_adc_multi_channel_conversion()
135 ut_assertok(adc_channel_single_shot("adc", tdata->id, &data)); in dm_test_adc_single_channel_shot()
154 ut_assertok(adc_channels_single_shot("adc", channel_mask, channels)); in dm_test_adc_multi_channel_shot()