/openbmc/u-boot/test/dm/ |
H A D | blk.c | 32 ut_asserteq_ptr(blk1, dev); in dm_test_blk_base() 34 ut_asserteq_ptr(blk3, dev); in dm_test_blk_base() 38 ut_asserteq_ptr(blk1, dev); in dm_test_blk_base() 40 ut_asserteq_ptr(blk3, dev); in dm_test_blk_base() 77 ut_asserteq_ptr(usb_dev, dev_get_parent(dev)); in dm_test_blk_usb() 101 ut_asserteq_ptr(blk, dev); in dm_test_blk_find() 106 ut_asserteq_ptr(blk, dev); in dm_test_blk_find() 133 ut_asserteq_ptr(parent, mmc_dev); in dm_test_blk_devnum()
|
H A D | bus.c | 217 ut_asserteq_ptr(dev, NULL); in dm_test_bus_children_iterators() 227 ut_asserteq_ptr(child, NULL); in dm_test_bus_children_iterators() 246 ut_asserteq_ptr(NULL, dev_get_parent_priv(dev)); in test_bus_parent_data() 255 ut_asserteq_ptr(NULL, dev_get_parent_priv(dev)); in test_bus_parent_data() 270 ut_asserteq_ptr(NULL, dev_get_parent_priv(dev)); in test_bus_parent_data() 347 ut_asserteq_ptr(NULL, dev_get_parent_priv(dev)); in dm_test_bus_parent_ops() 361 ut_asserteq_ptr(NULL, dev_get_parent_priv(dev)); in dm_test_bus_parent_ops() 362 ut_asserteq_ptr(dms->removed, dev); in dm_test_bus_parent_ops() 379 ut_asserteq_ptr(NULL, dev); in test_bus_parent_platdata() 545 ut_asserteq_ptr(NULL, priv); in dm_test_bus_child_pre_probe_uclass() [all …]
|
H A D | test-fdt.c | 281 ut_asserteq_ptr(NULL, dev); in dm_test_fdt_uclass_seq() 380 ut_asserteq_ptr(dev, NULL); in dm_test_first_next_device() 418 ut_asserteq_ptr(devlist[i], dev); in check_devices() 423 ut_asserteq_ptr(NULL, dev); in check_devices() 529 ut_asserteq_ptr(paddr, devfdt_remap_addr(dev)); in dm_test_fdt_remap_addr_flat() 549 ut_asserteq_ptr(paddr, devfdt_remap_addr_index(dev, 0)); in dm_test_fdt_remap_addr_index_flat() 589 ut_asserteq_ptr(paddr, dev_remap_addr(dev)); in dm_test_fdt_remap_addr_live() 609 ut_asserteq_ptr(paddr, dev_remap_addr_index(dev, 0)); in dm_test_fdt_remap_addr_index_live() 730 ut_asserteq_ptr(dev, dev2); in dm_test_fdt_phandle() 745 ut_asserteq_ptr(dev, dev2); in dm_test_first_child() [all …]
|
H A D | spi.c | 46 ut_asserteq_ptr(NULL, info.dev); in dm_test_spi_find() 65 ut_asserteq_ptr(NULL, info.dev); in dm_test_spi_find() 75 ut_asserteq_ptr(info.dev, slave->dev); in dm_test_spi_find() 83 ut_asserteq_ptr(info.dev, slave->dev); in dm_test_spi_find()
|
H A D | gpio.c | 124 ut_asserteq_ptr(NULL, name); in dm_test_gpio_anon() 197 ut_asserteq_ptr(gpio_a, desc.dev); in dm_test_gpio_phandles() 205 ut_asserteq_ptr(NULL, desc.dev); in dm_test_gpio_phandles() 222 ut_asserteq_ptr(gpio_a, desc_list[0].dev); in dm_test_gpio_phandles() 224 ut_asserteq_ptr(gpio_a, desc_list[1].dev); in dm_test_gpio_phandles() 226 ut_asserteq_ptr(gpio_b, desc_list[2].dev); in dm_test_gpio_phandles()
|
H A D | regmap.c | 47 ut_asserteq_ptr(ERR_PTR(-ENOEXEC), map); in dm_test_regmap_base() 83 ut_asserteq_ptr(ERR_PTR(-ENODEV), map); in dm_test_regmap_syscon() 87 ut_asserteq_ptr(ERR_PTR(-ENODEV), in dm_test_regmap_syscon()
|
H A D | regulator.c | 86 ut_asserteq_ptr(dev_by_devname, dev_by_platname); in dm_test_power_regulator_get() 237 ut_asserteq_ptr(dev, dev_autoset); in dm_test_power_regulator_autoset() 328 ut_asserteq_ptr(dev_list[i], dev); in dm_test_power_regulator_autoset_list()
|
H A D | core.c | 593 ut_asserteq_ptr(grandchild[0], dev); in dm_test_children() 623 ut_asserteq_ptr(dev, top[5]); in dm_test_children() 635 ut_asserteq_ptr(dev, top[6]); in dm_test_children() 734 ut_asserteq_ptr(NULL, uclass_find(UCLASS_TEST)); in dm_test_uclass_before_ready() 790 ut_asserteq_ptr(testdev, finddev); in dm_test_uclass_devices_find_by_name() 851 ut_asserteq_ptr(testdev, finddev); in dm_test_uclass_devices_get_by_name() 899 ut_asserteq_ptr(dev1, dev2); in dm_test_inactive_child()
|
H A D | led.c | 107 ut_asserteq_ptr(dev, cmp); in dm_test_led_label() 112 ut_asserteq_ptr(dev, cmp); in dm_test_led_label()
|
H A D | phy.c | 38 ut_asserteq_ptr(phy1_method2.dev, phy2.dev); in dm_test_phy_base()
|
H A D | dma.c | 112 ut_asserteq_ptr(dst_buf, dst_ptr); in dm_test_dma_rx()
|
/openbmc/u-boot/test/ |
H A D | bloblist.c | 82 ut_asserteq_ptr(rec + 1, data); in bloblist_test_blob() 84 ut_asserteq_ptr(rec + 1, data); in bloblist_test_blob() 87 ut_asserteq_ptr(data, bloblist_ensure(TEST_TAG, TEST_SIZE)); in bloblist_test_blob() 92 ut_asserteq_ptr(data, bloblist_ensure(TEST_TAG, TEST_SIZE)); in bloblist_test_blob() 93 ut_asserteq_ptr(rec2 + 1, bloblist_ensure(TEST_TAG2, TEST_SIZE2)); in bloblist_test_blob() 109 ut_asserteq_ptr(data, bloblist_ensure(TEST_TAG, TEST_SIZE)); in bloblist_test_bad_blob() 110 ut_asserteq_ptr(data, bloblist_ensure(TEST_TAG, TEST_SIZE)); in bloblist_test_bad_blob()
|
H A D | unicode_ut.c | 134 ut_asserteq_ptr(s, d2 + 9) in unicode_test_utf8_get() 145 ut_asserteq_ptr(s, d3 + 9) in unicode_test_utf8_get() 151 ut_asserteq_ptr(s, d4 + 4); in unicode_test_utf8_get() 351 ut_asserteq_ptr(c2 + 8, s); in unicode_test_utf16_get() 357 ut_asserteq_ptr(c4 + 2, s); in unicode_test_utf16_get()
|
/openbmc/u-boot/test/lib/ |
H A D | string.c | 84 ut_asserteq_ptr(buf + offset, (u8 *)ptr); in lib_memset() 146 ut_asserteq_ptr(buf2 + offset2, (u8 *)ptr); in lib_memcpy() 181 ut_asserteq_ptr(buf + offset2, (u8 *)ptr); in lib_memmove()
|
/openbmc/u-boot/include/test/ |
H A D | ut.h | 100 #define ut_asserteq_ptr(expr1, expr2) { \ macro
|