Home
last modified time | relevance | path

Searched refs:ut_assertok (Results 1 – 25 of 36) sorted by relevance

12

/external/u-boot/test/dm/
Di2c.c36 ut_assertok(uclass_get_device_by_seq(UCLASS_I2C, busnum, &bus)); in dm_test_i2c_find()
37 ut_assertok(dm_i2c_probe(bus, chip, 0, &dev)); in dm_test_i2c_find()
50 ut_assertok(uclass_get_device_by_seq(UCLASS_I2C, busnum, &bus)); in dm_test_i2c_read_write()
51 ut_assertok(i2c_get_chip(bus, chip, 1, &dev)); in dm_test_i2c_read_write()
52 ut_assertok(dm_i2c_read(dev, 0, buf, 5)); in dm_test_i2c_read_write()
53 ut_assertok(memcmp(buf, "\0\0\0\0\0", sizeof(buf))); in dm_test_i2c_read_write()
54 ut_assertok(dm_i2c_write(dev, 2, (uint8_t *)"AB", 2)); in dm_test_i2c_read_write()
55 ut_assertok(dm_i2c_read(dev, 0, buf, 5)); in dm_test_i2c_read_write()
56 ut_assertok(memcmp(buf, "\0\0AB\0", sizeof(buf))); in dm_test_i2c_read_write()
67 ut_assertok(uclass_get_device_by_seq(UCLASS_I2C, busnum, &bus)); in dm_test_i2c_speed()
[all …]
Dremoteproc.c21 ut_assertok(rproc_init()); in dm_test_remoteproc_base()
28 ut_assertok(rproc_stop(0)); in dm_test_remoteproc_base()
29 ut_assertok(rproc_reset(0)); in dm_test_remoteproc_base()
34 ut_assertok(rproc_load(0, 1, 0)); in dm_test_remoteproc_base()
35 ut_assertok(rproc_start(0)); in dm_test_remoteproc_base()
36 ut_assertok(rproc_is_running(0)); in dm_test_remoteproc_base()
37 ut_assertok(rproc_ping(0)); in dm_test_remoteproc_base()
38 ut_assertok(rproc_reset(0)); in dm_test_remoteproc_base()
39 ut_assertok(rproc_stop(0)); in dm_test_remoteproc_base()
42 ut_assertok(rproc_stop(1)); in dm_test_remoteproc_base()
[all …]
Dcore.c92 ut_assertok(uclass_destroy(uc)); in dm_leak_check_end()
121 ut_assertok(dm_scan_platdata(false)); in dm_test_autobind()
148 ut_assertok(uclass_get(UCLASS_TEST, &uc)); in dm_test_autobind_uclass_pdata_alloc()
205 ut_assertok(uclass_get(UCLASS_TEST, &uc)); in dm_test_autoprobe()
221 ut_assertok(uclass_find_device(UCLASS_TEST, i, &dev)); in dm_test_autoprobe()
227 ut_assertok(uclass_get_device(UCLASS_TEST, i, &dev)); in dm_test_autoprobe()
249 ut_assertok(uclass_find_device(UCLASS_TEST, i, &dev)); in dm_test_autoprobe()
272 ut_assertok(uclass_find_device(UCLASS_TEST, i, &dev)); in dm_test_platdata()
293 ut_assertok(device_bind_by_name(dms->root, false, &driver_info_manual, in dm_test_lifecycle()
310 ut_assertok(device_probe(dev)); in dm_test_lifecycle()
[all …]
Dphy.c24 ut_assertok(uclass_get_device_by_name(UCLASS_SIMPLE_BUS, in dm_test_phy_base()
29 ut_assertok(generic_phy_get_by_name(parent, "phy1", &phy1_method1)) in dm_test_phy_base()
30 ut_assertok(generic_phy_get_by_index(parent, 0, &phy1_method2)) in dm_test_phy_base()
37 ut_assertok(generic_phy_get_by_name(parent, "phy2", &phy2)) in dm_test_phy_base()
44 ut_assertok(generic_phy_get_by_name(parent, "phy3", &phy3)) in dm_test_phy_base()
64 ut_assertok(uclass_get_device_by_name(UCLASS_SIMPLE_BUS, in dm_test_phy_ops()
67 ut_assertok(generic_phy_get_by_name(parent, "phy1", &phy1)); in dm_test_phy_ops()
69 ut_assertok(generic_phy_get_by_name(parent, "phy2", &phy2)); in dm_test_phy_ops()
71 ut_assertok(generic_phy_get_by_name(parent, "phy3", &phy3)); in dm_test_phy_ops()
75 ut_assertok(generic_phy_init(&phy1)); in dm_test_phy_ops()
[all …]
Dgpio.c31 ut_assertok(gpio_lookup_name("b4", &dev, &offset, &gpio)); in dm_test_gpio()
50 ut_assertok(gpio_get_status(dev, offset, buf, sizeof(buf))); in dm_test_gpio()
55 ut_assertok(gpio_get_status(dev, offset, buf, sizeof(buf))); in dm_test_gpio()
59 ut_assertok(gpio_get_status(dev, offset, buf, sizeof(buf))); in dm_test_gpio()
62 ut_assertok(gpio_request(gpio, "testing")); in dm_test_gpio()
63 ut_assertok(gpio_get_status(dev, offset, buf, sizeof(buf))); in dm_test_gpio()
68 ut_assertok(ops->set_value(dev, offset, 0)); in dm_test_gpio()
70 ut_assertok(gpio_get_status(dev, offset, buf, sizeof(buf))); in dm_test_gpio()
72 ut_assertok(ops->set_value(dev, offset, 1)); in dm_test_gpio()
77 ut_assertok(ops->set_open_drain(dev, offset, 1)); in dm_test_gpio()
[all …]
Dblk.c24 ut_assertok(blk_create_device(gd->dm_root, "sandbox_host_blk", "test", in dm_test_blk_base()
26 ut_assertok(blk_create_device(blk, "usb_storage_blk", "test", in dm_test_blk_base()
31 ut_assertok(blk_get_device(IF_TYPE_HOST, 1, &dev)); in dm_test_blk_base()
35 ut_assertok(blk_get_device(IF_TYPE_USB, 3, &dev)); in dm_test_blk_base()
39 ut_assertok(blk_first_device(IF_TYPE_HOST, &dev)); in dm_test_blk_base()
43 ut_assertok(blk_first_device(IF_TYPE_USB, &dev)); in dm_test_blk_base()
76 ut_assertok(usb_init()); in dm_test_blk_usb()
77 ut_assertok(uclass_get_device(UCLASS_MASS_STORAGE, 0, &usb_dev)); in dm_test_blk_usb()
78 ut_assertok(blk_get_device_by_str("usb", "0", &dev_desc)); in dm_test_blk_usb()
81 ut_assertok(blk_get_device(IF_TYPE_USB, 0, &dev)); in dm_test_blk_usb()
[all …]
Drtc.c21 ut_assertok(uclass_get_device(UCLASS_RTC, 0, &dev)); in dm_test_rtc_base()
22 ut_assertok(uclass_get_device(UCLASS_RTC, 1, &dev)); in dm_test_rtc_base()
60 ut_assertok(uclass_get_device(UCLASS_RTC, 0, &dev)); in dm_test_rtc_set_get()
61 ut_assertok(dm_rtc_get(dev, &now)); in dm_test_rtc_set_get()
63 ut_assertok(device_find_first_child(dev, &emul)); in dm_test_rtc_set_get()
77 ut_assertok(dm_rtc_set(dev, &time)); in dm_test_rtc_set_get()
80 ut_assertok(dm_rtc_get(dev, &cmp)); in dm_test_rtc_set_get()
81 ut_assertok(cmp_times(&time, &cmp, true)); in dm_test_rtc_set_get()
88 ut_assertok(dm_rtc_get(dev, &cmp)); in dm_test_rtc_set_get()
93 ut_assertok(dm_rtc_get(dev, &cmp)); in dm_test_rtc_set_get()
[all …]
Dusb.c24 ut_assertok(uclass_get_device(UCLASS_USB, 0, &bus)); in dm_test_usb_base()
43 ut_assertok(usb_init()); in dm_test_usb_flash()
44 ut_assertok(uclass_get_device(UCLASS_MASS_STORAGE, 0, &dev)); in dm_test_usb_flash()
45 ut_assertok(blk_get_device_by_str("usb", "0", &dev_desc)); in dm_test_usb_flash()
51 ut_assertok(strcmp(cmp, "this is a test")); in dm_test_usb_flash()
52 ut_assertok(usb_stop()); in dm_test_usb_flash()
64 ut_assertok(usb_init()); in dm_test_usb_multi()
65 ut_assertok(uclass_get_device(UCLASS_MASS_STORAGE, 0, &dev)); in dm_test_usb_multi()
66 ut_assertok(uclass_get_device(UCLASS_MASS_STORAGE, 1, &dev)); in dm_test_usb_multi()
67 ut_assertok(uclass_get_device(UCLASS_MASS_STORAGE, 2, &dev)); in dm_test_usb_multi()
[all …]
Dled.c19 ut_assertok(uclass_get_device(UCLASS_LED, 0, &dev)); in dm_test_led_base()
20 ut_assertok(uclass_get_device(UCLASS_LED, 1, &dev)); in dm_test_led_base()
21 ut_assertok(uclass_get_device(UCLASS_LED, 2, &dev)); in dm_test_led_base()
22 ut_assertok(uclass_get_device(UCLASS_LED, 3, &dev)); in dm_test_led_base()
23 ut_assertok(uclass_get_device(UCLASS_LED, 4, &dev)); in dm_test_led_base()
36 ut_assertok(led_get_by_label("sandbox:default_on", &dev)); in dm_test_led_default_state()
39 ut_assertok(led_get_by_label("sandbox:default_off", &dev)); in dm_test_led_default_state()
56 ut_assertok(uclass_get_device(UCLASS_LED, 1, &dev)); in dm_test_led_gpio()
57 ut_assertok(uclass_get_device(UCLASS_GPIO, 1, &gpio)); in dm_test_led_gpio()
59 ut_assertok(led_set_state(dev, LEDST_ON)); in dm_test_led_gpio()
[all …]
Dvideo.c32 ut_assertok(uclass_get_device(UCLASS_VIDEO, 0, &dev)); in dm_test_video_base()
92 ut_assertok(uclass_find_device(UCLASS_VIDEO, 0, &dev)); in select_vidconsole()
117 ut_assertok(select_vidconsole(uts, "vidconsole0")); in dm_test_video_text()
118 ut_assertok(uclass_get_device(UCLASS_VIDEO, 0, &dev)); in dm_test_video_text()
121 ut_assertok(uclass_get_device(UCLASS_VIDEO_CONSOLE, 0, &con)); in dm_test_video_text()
149 ut_assertok(select_vidconsole(uts, "vidconsole0")); in dm_test_video_chars()
150 ut_assertok(uclass_get_device(UCLASS_VIDEO, 0, &dev)); in dm_test_video_chars()
151 ut_assertok(uclass_get_device(UCLASS_VIDEO_CONSOLE, 0, &con)); in dm_test_video_chars()
166 ut_assertok(select_vidconsole(uts, "vidconsole0")); in dm_test_video_ansi()
167 ut_assertok(uclass_get_device(UCLASS_VIDEO, 0, &dev)); in dm_test_video_ansi()
[all …]
Dbus.c111 ut_assertok(uclass_get(UCLASS_TEST_FDT, &uc)); in dm_test_bus_children()
115 ut_assertok(uclass_get_device(UCLASS_TEST_BUS, 0, &bus)); in dm_test_bus_children()
118 ut_assertok(uclass_get(UCLASS_TEST_FDT, &uc)); in dm_test_bus_children()
134 ut_assertok(uclass_get_device(UCLASS_TEST_BUS, 0, &bus)); in dm_test_bus_children_funcs()
137 ut_assertok(device_get_child(bus, 0, &dev)); in dm_test_bus_children_funcs()
139 ut_assertok(device_get_child_by_seq(bus, 5, &dev)); in dm_test_bus_children_funcs()
145 ut_assertok(device_find_child_by_seq(bus, 0, true, &dev)); in dm_test_bus_children_funcs()
148 ut_assertok(device_get_child_by_seq(bus, 0, &dev)); in dm_test_bus_children_funcs()
172 ut_assertok(uclass_get_device(UCLASS_TEST_BUS, 0, &bus)); in dm_test_bus_children_of_offset()
178 ut_assertok(device_find_child_by_of_offset(bus, node, &dev)); in dm_test_bus_children_of_offset()
[all …]
Dadc.c26 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()
[all …]
Dreset.c23 ut_assertok(uclass_get_device_by_name(UCLASS_RESET, "reset-ctl", in dm_test_reset()
27 ut_assertok(uclass_get_device_by_name(UCLASS_MISC, "reset-ctl-test", in dm_test_reset()
29 ut_assertok(sandbox_reset_test_get(dev_test)); in dm_test_reset()
31 ut_assertok(sandbox_reset_test_assert(dev_test)); in dm_test_reset()
34 ut_assertok(sandbox_reset_test_deassert(dev_test)); in dm_test_reset()
37 ut_assertok(sandbox_reset_test_free(dev_test)); in dm_test_reset()
48 ut_assertok(uclass_get_device_by_name(UCLASS_RESET, "reset-ctl", in dm_test_reset_bulk()
53 ut_assertok(uclass_get_device_by_name(UCLASS_MISC, "reset-ctl-test", in dm_test_reset_bulk()
55 ut_assertok(sandbox_reset_test_get_bulk(dev_test)); in dm_test_reset_bulk()
57 ut_assertok(sandbox_reset_test_assert_bulk(dev_test)); in dm_test_reset_bulk()
[all …]
Dclk.c18 ut_assertok(uclass_get_device_by_name(UCLASS_CLK, "clk-fixed", in dm_test_clk()
21 ut_assertok(uclass_get_device_by_name(UCLASS_CLK, "clk-sbox", in dm_test_clk()
28 ut_assertok(uclass_get_device_by_name(UCLASS_MISC, "clk-test", in dm_test_clk()
30 ut_assertok(sandbox_clk_test_get(dev_test)); in dm_test_clk()
80 ut_assertok(sandbox_clk_test_enable(dev_test, SANDBOX_CLK_TEST_ID_SPI)); in dm_test_clk()
84 ut_assertok(sandbox_clk_test_enable(dev_test, SANDBOX_CLK_TEST_ID_I2C)); in dm_test_clk()
88 ut_assertok(sandbox_clk_test_disable(dev_test, in dm_test_clk()
93 ut_assertok(sandbox_clk_test_disable(dev_test, in dm_test_clk()
98 ut_assertok(sandbox_clk_test_free(dev_test)); in dm_test_clk()
108 ut_assertok(uclass_get_device_by_name(UCLASS_CLK, "clk-sbox", in dm_test_clk_bulk()
[all …]
Deth.c27 ut_assertok(net_loop(PING)); in dm_test_eth()
31 ut_assertok(net_loop(PING)); in dm_test_eth()
35 ut_assertok(net_loop(PING)); in dm_test_eth()
46 ut_assertok(net_loop(PING)); in dm_test_eth_alias()
50 ut_assertok(net_loop(PING)); in dm_test_eth_alias()
55 ut_assertok(net_loop(PING)); in dm_test_eth_alias()
59 ut_assertok(net_loop(PING)); in dm_test_eth_alias()
73 ut_assertok(net_loop(PING)); in dm_test_eth_prime()
79 ut_assertok(net_loop(PING)); in dm_test_eth_prime()
115 ut_assertok(uclass_find_device_by_name(UCLASS_ETH, in dm_test_eth_act()
[all …]
Dtest-fdt.c192 ut_assertok(dm_check_devices(uts, num_devices)); in dm_test_fdt()
222 ut_assertok(uclass_find_device_by_seq(UCLASS_TEST_FDT, 3, true, &dev)); in dm_test_fdt_uclass_seq()
225 ut_assertok(uclass_find_device_by_seq(UCLASS_TEST_FDT, 8, true, &dev)); in dm_test_fdt_uclass_seq()
233 ut_assertok(uclass_get_device_by_seq(UCLASS_TEST_FDT, 6, &dev)); in dm_test_fdt_uclass_seq()
243 ut_assertok(uclass_get_device_by_seq(UCLASS_TEST_FDT, 3, &dev)); in dm_test_fdt_uclass_seq()
250 ut_assertok(uclass_get_device(UCLASS_TEST_FDT, 2, &dev)); in dm_test_fdt_uclass_seq()
254 ut_assertok(uclass_get_device_by_seq(UCLASS_TEST_FDT, 0, &dev)); in dm_test_fdt_uclass_seq()
260 ut_assertok(uclass_get_device(UCLASS_TEST_FDT, 0, &dev)); in dm_test_fdt_uclass_seq()
261 ut_assertok(uclass_get_device(UCLASS_TEST_FDT, 4, &dev)); in dm_test_fdt_uclass_seq()
264 ut_assertok(uclass_get_device_by_seq(UCLASS_TEST_FDT, 1, &dev)); in dm_test_fdt_uclass_seq()
[all …]
Dspi.c36 ut_assertok(spi_cs_info(bus, cs, &info)); in dm_test_spi_find()
45 ut_assertok(spi_cs_info(bus, cs, &info)); in dm_test_spi_find()
64 ut_assertok(spi_cs_info(bus, cs, &info)); in dm_test_spi_find()
68 ut_assertok(sandbox_sf_bind_emul(state, busnum, cs, bus, of_offset, in dm_test_spi_find()
70 ut_assertok(spi_find_bus_and_cs(busnum, cs, &bus, &dev)); in dm_test_spi_find()
71 ut_assertok(spi_get_bus_and_cs(busnum, cs, speed, mode, in dm_test_spi_find()
74 ut_assertok(spi_cs_info(bus, cs, &info)); in dm_test_spi_find()
78 ut_assertok(sandbox_sf_bind_emul(state, busnum, cs_b, bus, of_offset, in dm_test_spi_find()
80 ut_assertok(spi_get_bus_and_cs(busnum, cs_b, speed, mode, in dm_test_spi_find()
82 ut_assertok(spi_cs_info(bus, cs_b, &info)); in dm_test_spi_find()
[all …]
Dspmi.c24 ut_assertok(uclass_get_device(UCLASS_SPMI, 0, &bus)); in dm_test_spmi_probe()
32 ut_assertok(device_find_first_child(bus, &dev)); in dm_test_spmi_probe()
53 ut_assertok(uclass_get_device(UCLASS_SPMI, 0, &bus)); in dm_test_spmi_access()
55 ut_assertok(device_get_child(bus, 0, &pmic)); in dm_test_spmi_access()
82 ut_assertok(gpio_lookup_name("spmi1", &dev, &offset, &gpio)); in dm_test_spmi_access_peripheral()
97 ut_assertok(gpio_request(gpio, "testing")); in dm_test_spmi_access_peripheral()
100 ut_assertok(gpio_direction_output(gpio, 0)); in dm_test_spmi_access_peripheral()
102 ut_assertok(gpio_direction_output(gpio, 1)); in dm_test_spmi_access_peripheral()
104 ut_assertok(gpio_direction_input(gpio)); in dm_test_spmi_access_peripheral()
107 ut_assertok(gpio_free(gpio)); in dm_test_spmi_access_peripheral()
Dregulator.c70 ut_assertok(regulator_get_by_devname(devname, &dev_by_devname)); in dm_test_power_regulator_get()
77 ut_assertok(regulator_get_by_platname(platname, &dev_by_platname)); in dm_test_power_regulator_get()
103 ut_assertok(regulator_get_by_platname(platname, &dev)); in dm_test_power_regulator_set_get_voltage()
109 ut_assertok(regulator_set_value(dev, val_set)); in dm_test_power_regulator_set_get_voltage()
130 ut_assertok(regulator_get_by_platname(platname, &dev)); in dm_test_power_regulator_set_get_current()
136 ut_assertok(regulator_set_current(dev, val_set)); in dm_test_power_regulator_set_get_current()
145 ut_assertok(regulator_get_by_platname(platname, &dev)); in dm_test_power_regulator_set_get_current()
168 ut_assertok(regulator_get_by_platname(platname, &dev)); in dm_test_power_regulator_set_get_enable()
169 ut_assertok(regulator_set_enable(dev, val_set)); in dm_test_power_regulator_set_get_enable()
187 ut_assertok(regulator_get_by_platname(platname, &dev)); in dm_test_power_regulator_set_get_mode()
[all …]
Dpwm.c17 ut_assertok(uclass_get_device(UCLASS_PWM, 0, &dev)); in dm_test_pwm_base()
19 ut_assertok(pwm_set_config(dev, 0, 100, 50)); in dm_test_pwm_base()
20 ut_assertok(pwm_set_enable(dev, 0, true)); in dm_test_pwm_base()
21 ut_assertok(pwm_set_enable(dev, 1, true)); in dm_test_pwm_base()
22 ut_assertok(pwm_set_enable(dev, 2, true)); in dm_test_pwm_base()
24 ut_assertok(pwm_set_invert(dev, 0, true)); in dm_test_pwm_base()
26 ut_assertok(uclass_get_device(UCLASS_PWM, 1, &dev)); in dm_test_pwm_base()
Dregmap.c23 ut_assertok(uclass_get_device(UCLASS_SYSCON, 0, &dev)); in dm_test_regmap_base()
31 ut_assertok(uclass_get_device(UCLASS_SYSCON, 1, &dev)); in dm_test_regmap_base()
45 ut_assertok(uclass_get_device(UCLASS_I2C, 0, &dev)); in dm_test_regmap_base()
102 ut_assertok(uclass_get_device(UCLASS_SYSCON, 0, &dev)); in dm_test_regmap_rw()
106 ut_assertok(regmap_write(map, 0, 0xcacafafa)); in dm_test_regmap_rw()
107 ut_assertok(regmap_write(map, 3, 0x55aa2211)); in dm_test_regmap_rw()
109 ut_assertok(regmap_read(map, 0, &reg)); in dm_test_regmap_rw()
110 ut_assertok(regmap_read(map, 3, &reg)); in dm_test_regmap_rw()
112 ut_assertok(regmap_update_bits(map, 0, 0xff00ff00, 0x55aa2211)); in dm_test_regmap_rw()
113 ut_assertok(regmap_update_bits(map, 3, 0x00ff00ff, 0xcacafada)); in dm_test_regmap_rw()
Dpmic.c30 ut_assertok(pmic_get(name, &dev)); in power_pmic_get()
66 ut_assertok(pmic_get(name, &dev)); in dm_test_power_pmic_io()
78 ut_assertok(pmic_write(dev, i, &out_buffer, 1)); in dm_test_power_pmic_io()
79 ut_assertok(pmic_read(dev, i, &in_buffer, 1)); in dm_test_power_pmic_io()
94 ut_assertok(pmic_get("pmic@41", &dev)); in dm_test_power_pmic_mc34708_regs_check()
110 ut_assertok(pmic_get("pmic@41", &dev)); in dm_test_power_pmic_mc34708_rw_val()
118 ut_assertok(pmic_reg_write(dev, REG_RTC_TIME, val)); in dm_test_power_pmic_mc34708_rw_val()
119 ut_assertok(pmic_reg_write(dev, REG_RTC_TIME, MC34708_PMIC_TEST_VAL)); in dm_test_power_pmic_mc34708_rw_val()
Dtest-main.c37 ut_assertok(dm_init(of_live)); in dm_test_init()
72 ut_assertok(uclass_destroy(uc)); in dm_test_destroy()
86 ut_assertok(dm_test_init(uts, of_live)); in dm_do_test()
90 ut_assertok(dm_scan_platdata(false)); in dm_do_test()
92 ut_assertok(do_autoprobe(uts)); in dm_do_test()
94 ut_assertok(dm_extended_scan_fdt(gd->fdt_blob, false)); in dm_do_test()
107 ut_assertok(dm_test_destroy(uts)); in dm_do_test()
169 ut_assertok(dm_do_test(uts, test, true)); in dm_test_main()
180 ut_assertok(dm_do_test(uts, test, false)); in dm_test_main()
192 ut_assertok(dm_init(false)); in dm_test_main()
/external/u-boot/test/env/
Dattr.c17 ut_assertok(env_attr_lookup("foo:bar", "foo", attrs)); in env_test_attrs_lookup()
20 ut_assertok(env_attr_lookup(",foo:bar", "foo", attrs)); in env_test_attrs_lookup()
23 ut_assertok(env_attr_lookup(",foo:bar,", "foo", attrs)); in env_test_attrs_lookup()
26 ut_assertok(env_attr_lookup(" foo:bar", "foo", attrs)); in env_test_attrs_lookup()
29 ut_assertok(env_attr_lookup("foo : bar", "foo", attrs)); in env_test_attrs_lookup()
32 ut_assertok(env_attr_lookup(" foo: bar ", "foo", attrs)); in env_test_attrs_lookup()
35 ut_assertok(env_attr_lookup("foo:bar ", "foo", attrs)); in env_test_attrs_lookup()
38 ut_assertok(env_attr_lookup(",foo:bar,goo:baz", "foo", attrs)); in env_test_attrs_lookup()
45 ut_assertok(env_attr_lookup("foo:bar,foo:bat,foo:baz", "foo", attrs)); in env_test_attrs_lookup()
48 ut_assertok(env_attr_lookup( in env_test_attrs_lookup()
[all …]
/external/u-boot/test/overlay/
Dcmd_ut_overlay.c72 ut_assertok(ut_fdt_getprop_u32(fdt, "/test-node", "test-int-property", in fdt_overlay_change_int_property()
85 ut_assertok(fdt_getprop_str(fdt, "/test-node", "test-str-property", in fdt_overlay_change_str_property()
98 ut_assertok(fdt_getprop_str(fdt, "/test-node", "test-str-property-2", in fdt_overlay_add_str_property()
162 ut_assertok(ut_fdt_getprop_u32_by_index(fdt, "/", "test-several-phandle", in fdt_overlay_local_phandle()
166 ut_assertok(ut_fdt_getprop_u32_by_index(fdt, "/", "test-several-phandle", in fdt_overlay_local_phandle()
193 ut_assertok(ut_fdt_getprop_u32_by_index(fdt, "/", "test-phandle", 0, in fdt_overlay_local_phandles()
197 ut_assertok(ut_fdt_getprop_u32_by_index(fdt, "/", "test-phandle", 1, in fdt_overlay_local_phandles()
210 ut_assertok(ut_fdt_getprop_u32(fdt, "/new-local-node", in fdt_overlay_stacked()
234 ut_assertok(fdt_check_header(fdt_base)); in do_ut_overlay()
235 ut_assertok(fdt_check_header(fdt_overlay)); in do_ut_overlay()
[all …]

12