Searched refs:ut_assert (Results 1 – 18 of 18) sorted by relevance
116 ut_assert(dms->root); in dm_test_autobind()124 ut_assert(1 < list_count_items(&gd->uclass_root)); in dm_test_autobind()125 ut_assert(0 < list_count_items(&gd->dm_root->child_head)); in dm_test_autobind()132 ut_assert(!(dev->flags & DM_FLAG_ACTIVATED)); in dm_test_autobind()135 ut_assert(dm_testdrv_op_count[DM_TEST_OP_BIND] == 3); in dm_test_autobind()149 ut_assert(uc); in dm_test_autobind_uclass_pdata_alloc()155 ut_assert(uc->uc_drv->per_device_platdata_auto_alloc_size); in dm_test_autobind_uclass_pdata_alloc()160 ut_assert(dev); in dm_test_autobind_uclass_pdata_alloc()163 ut_assert(uc_pdata); in dm_test_autobind_uclass_pdata_alloc()183 ut_assert(dev); in dm_test_autobind_uclass_pdata_valid()[all …]
35 ut_assert(!device_active(dev)); in test_post_bind()38 ut_assert(uc_pdata); in test_post_bind()59 ut_assert(priv); in test_pre_probe()60 ut_assert(device_active(dev)); in test_pre_probe()75 ut_assert(priv); in test_post_probe()76 ut_assert(device_active(dev)); in test_post_probe()85 ut_assert(pdata); in test_post_probe()86 ut_assert(prev_uc_priv); in test_post_probe()103 ut_assert(uc->priv); in test_init()
121 ut_assert(!dm_check_devices(uts, num_devices)); in dm_test_bus_children()140 ut_assert(dev->flags & DM_FLAG_ACTIVATED); in dm_test_bus_children_funcs()146 ut_assert(!(dev->flags & DM_FLAG_ACTIVATED)); in dm_test_bus_children_funcs()149 ut_assert(dev->flags & DM_FLAG_ACTIVATED); in dm_test_bus_children_funcs()177 ut_assert(node > 0); in dm_test_bus_children_of_offset()180 ut_assert(!(dev->flags & DM_FLAG_ACTIVATED)); in dm_test_bus_children_of_offset()183 ut_assert(dev->flags & DM_FLAG_ACTIVATED); in dm_test_bus_children_of_offset()236 ut_assert(NULL != parent_data); in test_bus_parent_data()247 ut_assert(NULL != parent_data); in test_bus_parent_data()370 ut_assert(plat != NULL); in test_bus_parent_platdata()[all …]
146 ut_assert(!ret); in dm_check_devices()159 ut_assert(!dm_check_operations(uts, dev, base, in dm_check_devices()176 ut_assert(!ret); in dm_test_fdt()179 ut_assert(!ret); in dm_test_fdt()187 ut_assert(!ret); in dm_test_fdt()188 ut_assert(!dev_get_priv(dev)); in dm_test_fdt()189 ut_assert(dev->platdata); in dm_test_fdt()204 ut_assert(!ret); in dm_test_fdt_pre_reloc()207 ut_assert(!ret); in dm_test_fdt_pre_reloc()279 ut_assert(node > 0); in dm_test_fdt_offset()[all …]
79 ut_assert(uc_pdata); in dm_test_power_regulator_get()106 ut_assert(uc_pdata); in dm_test_power_regulator_set_get_voltage()112 ut_assert(val_get >= 0); in dm_test_power_regulator_set_get_voltage()133 ut_assert(uc_pdata); in dm_test_power_regulator_set_get_current()139 ut_assert(val_get >= 0); in dm_test_power_regulator_set_get_current()148 ut_assert(uc_pdata); in dm_test_power_regulator_set_get_current()303 ut_assert(dev_list[i]); in dm_test_power_regulator_autoset_list()
93 ut_assert(!device_active(dev)); in select_vidconsole()210 ut_assert(!device_active(dev)); in check_vidconsole_output()285 ut_assert(buf != NULL); in read_file()287 ut_assert(fd >= 0); in read_file()290 ut_assert(size >= 0); in read_file()291 ut_assert(size < buf_size); in read_file()352 ut_assert(!device_active(dev)); in dm_test_video_truetype_scroll()373 ut_assert(!device_active(dev)); in dm_test_video_truetype_bs()
39 ut_assert(phy1_method1.id != phy2.id); in dm_test_phy_base()45 ut_assert(phy2.dev != phy3.dev); in dm_test_phy_base()84 ut_assert(generic_phy_power_on(&phy1) != 0); in dm_test_phy_ops()85 ut_assert(generic_phy_power_off(&phy1) != 0); in dm_test_phy_ops()
38 ut_assert(!dev_get_priv(dev)); in test_bind()49 ut_assert(priv); in test_probe()59 ut_assert(dev_get_priv(dev)); in test_remove()68 ut_assert(!dev->priv); in test_unbind()
64 ut_assert(emul != NULL); in dm_test_rtc_set_get()129 ut_assert(emul != NULL); in dm_test_rtc_reset()158 ut_assert(emul1 != NULL); in dm_test_rtc_dual()160 ut_assert(emul2 != NULL); in dm_test_rtc_dual()
12 ut_assert(ofnode_valid(root_node)); in dm_test_ofnode_compatible()13 ut_assert(ofnode_device_is_compatible(root_node, "sandbox")); in dm_test_ofnode_compatible()
42 ut_assert(IS_ERR_VALUE(rate)); in dm_test_clk()66 ut_assert(IS_ERR_VALUE(rate)); in dm_test_clk()68 ut_assert(IS_ERR_VALUE(rate)); in dm_test_clk()
44 ut_assert(device_active(swap)); in dm_test_pci_swapcase()
51 ut_assert(ofnode_valid(node)); in dm_test_regmap_base()
145 ut_assert(gd->fdt_blob); in dm_test_main()
42 ut_assert(ops->get_function); in dm_test_gpio()
112 ut_assert(off >= 0); in fdt_overlay_add_node_by_phandle()126 ut_assert(off >= 0); in fdt_overlay_add_node_by_path()140 ut_assert(off >= 0); in fdt_overlay_add_subnode_property()157 ut_assert(off >= 0); in fdt_overlay_local_phandle()160 ut_assert(local_phandle); in fdt_overlay_local_phandle()182 ut_assert(off >= 0); in fdt_overlay_local_phandles()185 ut_assert(local_phandle); in fdt_overlay_local_phandles()188 ut_assert(off >= 0); in fdt_overlay_local_phandles()191 ut_assert(test_phandle); in fdt_overlay_local_phandles()
43 #define ut_assert(cond) \ macro
483 ut_assert(err); in run_bootm_test()494 ut_assert(err); in run_bootm_test()