/u-boot/test/lib/ |
A D | efi_image_region.c | 50 ut_asserteq_ptr((void *)0x3100, regs->reg[0].data); in lib_test_efi_image_region_add() 53 ut_asserteq_ptr((void *)0x2000, regs->reg[1].data); in lib_test_efi_image_region_add() 56 ut_asserteq_ptr((void *)0x1000, regs->reg[2].data); in lib_test_efi_image_region_add() 59 ut_asserteq_ptr((void *)0x4000, regs->reg[3].data); in lib_test_efi_image_region_add() 62 ut_asserteq_ptr((void *)0x1f00, regs->reg[4].data); in lib_test_efi_image_region_add() 140 ut_asserteq_ptr((void *)0x1000, regs->reg[0].data); in lib_test_efi_image_region_sort() 143 ut_asserteq_ptr((void *)0x1f00, regs->reg[1].data); in lib_test_efi_image_region_sort() 146 ut_asserteq_ptr((void *)0x2000, regs->reg[2].data); in lib_test_efi_image_region_sort() 149 ut_asserteq_ptr((void *)0x3100, regs->reg[3].data); in lib_test_efi_image_region_sort() 152 ut_asserteq_ptr((void *)0x4000, regs->reg[4].data); in lib_test_efi_image_region_sort() [all …]
|
A D | string.c | 85 ut_asserteq_ptr(buf + offset, (u8 *)ptr); in lib_memset() 147 ut_asserteq_ptr(buf2 + offset2, (u8 *)ptr); in lib_memcpy() 182 ut_asserteq_ptr(buf + offset2, (u8 *)ptr); in lib_memmove()
|
/u-boot/test/dm/ |
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()
|
A D | gpio.c | 168 ut_asserteq_ptr(gpio_c, desc_list[0].dev); in dm_test_gpio_opendrain_opensource() 169 ut_asserteq_ptr(gpio_c, desc_list[1].dev); in dm_test_gpio_opendrain_opensource() 170 ut_asserteq_ptr(gpio_c, desc_list[2].dev); in dm_test_gpio_opendrain_opensource() 171 ut_asserteq_ptr(gpio_c, desc_list[3].dev); in dm_test_gpio_opendrain_opensource() 255 ut_asserteq_ptr(NULL, name); in dm_test_gpio_anon() 328 ut_asserteq_ptr(gpio_a, desc.dev); in dm_test_gpio_phandles() 336 ut_asserteq_ptr(NULL, desc.dev); in dm_test_gpio_phandles() 520 ut_asserteq_ptr(NULL, desc_err); in dm_test_gpio_devm() 522 ut_asserteq_ptr(NULL, desc_err); in dm_test_gpio_devm() 528 ut_asserteq_ptr(NULL, desc_err); in dm_test_gpio_devm() [all …]
|
A D | bus.c | 124 ut_asserteq_ptr(dev, NULL); in dm_test_bus_children_iterators() 134 ut_asserteq_ptr(child, NULL); in dm_test_bus_children_iterators() 153 ut_asserteq_ptr(NULL, dev_get_parent_priv(dev)); in test_bus_parent_data() 162 ut_asserteq_ptr(NULL, dev_get_parent_priv(dev)); in test_bus_parent_data() 177 ut_asserteq_ptr(NULL, dev_get_parent_priv(dev)); in test_bus_parent_data() 253 ut_asserteq_ptr(NULL, dev_get_parent_priv(dev)); in dm_test_bus_parent_ops() 267 ut_asserteq_ptr(NULL, dev_get_parent_priv(dev)); in dm_test_bus_parent_ops() 283 ut_asserteq_ptr(NULL, dev); in test_bus_parent_plat() 303 ut_asserteq_ptr(plat, dev_get_parent_plat(dev)); in test_bus_parent_plat() 441 ut_asserteq_ptr(NULL, priv); in dm_test_bus_child_pre_probe_uclass() [all …]
|
A D | acpi.c | 248 ut_asserteq_ptr(dmar + 3, ctx.current); in dm_test_acpi_write_tables() 278 ut_asserteq_ptr((void *)16, ctx.current); in dm_test_acpi_basic() 282 ut_asserteq_ptr((void *)16, ctx.current); in dm_test_acpi_basic() 284 ut_asserteq_ptr((void *)64, ctx.current); in dm_test_acpi_basic() 286 ut_asserteq_ptr((void *)64, ctx.current); in dm_test_acpi_basic() 290 ut_asserteq_ptr((void *)67, ctx.current); in dm_test_acpi_basic() 292 ut_asserteq_ptr((void *)80, ctx.current); in dm_test_acpi_basic() 317 ut_asserteq_ptr(rsdp, ctx.rsdp); in dm_test_acpi_setup_base_tables() 324 ut_asserteq_ptr(rsdt, ctx.rsdt); in dm_test_acpi_setup_base_tables() 330 ut_asserteq_ptr(xsdt, ctx.xsdt); in dm_test_acpi_setup_base_tables() [all …]
|
A D | spi.c | 45 ut_asserteq_ptr(NULL, info.dev); in dm_test_spi_find() 64 ut_asserteq_ptr(NULL, info.dev); in dm_test_spi_find() 74 ut_asserteq_ptr(info.dev, slave->dev); in dm_test_spi_find() 82 ut_asserteq_ptr(NULL, info.dev); in dm_test_spi_find() 113 ut_asserteq_ptr(dev_get_parent(slave_a->dev), in dm_test_spi_switch_slaves()
|
A D | button.c | 75 ut_asserteq_ptr(dev, cmp); in dm_test_button_label() 80 ut_asserteq_ptr(dev, cmp); in dm_test_button_label()
|
A D | acpigen.c | 699 ut_asserteq_ptr(ptr, ctx->current); in dm_test_acpi_misc() 914 ut_asserteq_ptr(ptr, ctx->current); in dm_test_acpi_write_values() 945 ut_asserteq_ptr(ptr, ctx->current); in dm_test_acpi_scope() 990 ut_asserteq_ptr(ptr, ctx->current); in dm_test_acpi_resource_template() 1017 ut_asserteq_ptr(ptr, ctx->current); in dm_test_acpi_device() 1094 ut_asserteq_ptr(ptr, ctx->current); in dm_test_acpi_write_name() 1124 ut_asserteq_ptr(ptr, ctx->current); in dm_test_acpi_write_prw() 1163 ut_asserteq_ptr(ptr, ctx->current); in dm_test_acpi_write_cond() 1215 ut_asserteq_ptr(ptr, ctx->current); in dm_test_acpi_write_return() 1339 ut_asserteq_ptr(ptr, ctx->current); in dm_test_acpi_write_i2c_dsm() [all …]
|
A D | test-fdt.c | 251 ut_asserteq_ptr(NULL, dev); in dm_test_fdt_uclass_seq() 423 ut_asserteq_ptr(dev, NULL); in dm_test_first_next_device() 482 ut_asserteq_ptr(devlist[i], dev); in check_devices() 487 ut_asserteq_ptr(NULL, dev); in check_devices() 670 ut_asserteq_ptr((void *)0x8000, ptr); in dm_test_fdt_get_addr_ptr_flat() 690 ut_asserteq_ptr(paddr, devfdt_remap_addr(dev)); in dm_test_fdt_remap_addr_flat() 754 ut_asserteq_ptr(paddr, dev_remap_addr(dev)); in dm_test_fdt_remap_addr_live() 776 ut_asserteq_ptr(paddr, dev_remap_addr_index(dev, 0)); in dm_test_fdt_remap_addr_index_live() 901 ut_asserteq_ptr(dev, dev2); in dm_test_fdt_phandle() 916 ut_asserteq_ptr(dev, dev2); in dm_test_first_child() [all …]
|
A D | cpu.c | 31 ut_asserteq_ptr(cpu_get_current_dev(), dev); in dm_test_cpu()
|
A D | led.c | 109 ut_asserteq_ptr(dev, cmp); in dm_test_led_label() 114 ut_asserteq_ptr(dev, cmp); in dm_test_led_label()
|
A D | regulator.c | 88 ut_asserteq_ptr(dev_by_devname, dev_by_platname); in dm_test_power_regulator_get() 296 ut_asserteq_ptr(dev, dev_autoset); in dm_test_power_regulator_autoset() 387 ut_asserteq_ptr(dev_list[i], dev); in dm_test_power_regulator_autoset_list()
|
A D | soc.c | 115 ut_asserteq_ptr(soc_data, NULL); in dm_test_soc()
|
A D | of_platdata.c | 165 ut_asserteq_ptr(dev, drt->dev); in dm_test_of_plat_dev() 218 ut_asserteq_ptr(bus, dev_get_parent(dev)); in dm_test_of_plat_parent()
|
A D | regmap.c | 52 ut_asserteq_ptr(ERR_PTR(-ENOEXEC), map); in dm_test_regmap_base() 88 ut_asserteq_ptr(ERR_PTR(-ENODEV), map); in dm_test_regmap_syscon() 92 ut_asserteq_ptr(ERR_PTR(-ENODEV), in dm_test_regmap_syscon()
|
A D | core.c | 604 ut_asserteq_ptr(grandchild[0], dev); in dm_test_children() 634 ut_asserteq_ptr(dev, top[5]); in dm_test_children() 646 ut_asserteq_ptr(dev, top[6]); in dm_test_children() 991 ut_asserteq_ptr(NULL, uclass_find(UCLASS_TEST)); in dm_test_uclass_before_ready() 1046 ut_asserteq_ptr(testdev, finddev); in dm_test_uclass_devices_find_by_name() 1107 ut_asserteq_ptr(testdev, finddev); in dm_test_uclass_devices_get_by_name() 1155 ut_asserteq_ptr(dev1, dev2); in dm_test_inactive_child()
|
A D | dma.c | 114 ut_asserteq_ptr(dst_buf, dst_ptr); in dm_test_dma_rx()
|
A D | phy.c | 40 ut_asserteq_ptr(phy1_method2.dev, phy2.dev); in dm_test_phy_base()
|
A D | ofnode.c | 191 ut_asserteq_ptr(NULL, ofnode_read_chosen_string("no-setting")); in dm_test_ofnode_read_chosen()
|
/u-boot/test/ |
A D | unicode_ut.c | 153 ut_asserteq_ptr(s, d2 + 9) in unicode_test_utf8_get() 164 ut_asserteq_ptr(s, d3 + 9) in unicode_test_utf8_get() 170 ut_asserteq_ptr(s, d4 + 4); in unicode_test_utf8_get() 176 ut_asserteq_ptr(j4 + 1, s); in unicode_test_utf8_get() 376 ut_asserteq_ptr(c2 + 8, s); in unicode_test_utf16_get() 382 ut_asserteq_ptr(c4 + 2, s); in unicode_test_utf16_get()
|
/u-boot/include/test/ |
A D | ut.h | 216 #define ut_asserteq_ptr(expr1, expr2) { \ macro
|