Lines Matching refs:ut_asserteq
112 ut_asserteq(num_devices, list_count_items(&uc->dev_head)); in dm_test_bus_children()
119 ut_asserteq(num_devices, list_count_items(&uc->dev_head)); in dm_test_bus_children()
138 ut_asserteq(-ENODEV, device_get_child(bus, 4, &dev)); in dm_test_bus_children_funcs()
144 ut_asserteq(-ENODEV, device_find_child_by_seq(bus, -1, true, &dev)); in dm_test_bus_children_funcs()
147 ut_asserteq(-ENODEV, device_find_child_by_seq(bus, 0, false, &dev)); in dm_test_bus_children_funcs()
152 ut_asserteq(-ENODEV, device_find_child_by_seq(bus, 2, false, &dev)); in dm_test_bus_children_funcs()
153 ut_asserteq(-ENODEV, device_find_child_by_seq(bus, 2, true, &dev)); in dm_test_bus_children_funcs()
154 ut_asserteq(-ENODEV, device_get_child_by_seq(bus, 2, &dev)); in dm_test_bus_children_funcs()
158 ut_asserteq(-ENODEV, device_find_child_by_of_offset(bus, node, &dev)); in dm_test_bus_children_funcs()
160 ut_asserteq(-ENODEV, device_find_child_by_of_offset(bus, node, &dev)); in dm_test_bus_children_funcs()
240 ut_asserteq(5, parent_data->sum); in test_bus_parent_data()
249 ut_asserteq(5, parent_data->sum); in test_bus_parent_data()
275 ut_asserteq(value, parent_data->sum); in test_bus_parent_data()
333 ut_asserteq(FLAG_CHILD_PROBED, parent_data->flag); in dm_test_bus_parent_ops()
341 ut_asserteq(FLAG_CHILD_PROBED, parent_data->flag); in dm_test_bus_parent_ops()
377 ut_asserteq(1, plat->count); in test_bus_parent_platdata()
382 ut_asserteq(1, plat->count); in test_bus_parent_platdata()
386 ut_asserteq(3, child_count); in test_bus_parent_platdata()
396 ut_asserteq(1, plat->count); in test_bus_parent_platdata()
399 ut_asserteq(3, child_count); in test_bus_parent_platdata()
416 ut_asserteq(0, plat->count); in test_bus_parent_platdata()
419 ut_asserteq(3, child_count); in test_bus_parent_platdata()
470 ut_asserteq(1, plat->bind_flag); in dm_test_bus_child_post_bind()
473 ut_asserteq(3, child_count); in dm_test_bus_child_post_bind()
493 ut_asserteq(2, plat->uclass_bind_flag); in dm_test_bus_child_post_bind_uclass()
496 ut_asserteq(3, child_count); in dm_test_bus_child_post_bind_uclass()
528 ut_asserteq(1, priv->uclass_flag); in dm_test_bus_child_pre_probe_uclass()
529 ut_asserteq(1, priv->uclass_total); in dm_test_bus_child_pre_probe_uclass()
532 ut_asserteq(3, child_count); in dm_test_bus_child_pre_probe_uclass()