Lines Matching refs:testdev
1019 struct udevice *testdev; in dm_test_uclass_devices_find_by_name() local
1033 for (ret = uclass_find_first_device(UCLASS_TEST_FDT, &testdev); in dm_test_uclass_devices_find_by_name()
1034 testdev; in dm_test_uclass_devices_find_by_name()
1035 ret = uclass_find_next_device(&testdev)) { in dm_test_uclass_devices_find_by_name()
1037 ut_assertnonnull(testdev); in dm_test_uclass_devices_find_by_name()
1040 testdev->name, in dm_test_uclass_devices_find_by_name()
1044 ut_assert(testdev); in dm_test_uclass_devices_find_by_name()
1045 ut_asserteq_str(testdev->name, finddev->name); in dm_test_uclass_devices_find_by_name()
1046 ut_asserteq_ptr(testdev, finddev); in dm_test_uclass_devices_find_by_name()
1073 struct udevice *testdev; in dm_test_uclass_devices_get_by_name() local
1092 for (ret = uclass_first_device(UCLASS_TEST_FDT, &testdev); in dm_test_uclass_devices_get_by_name()
1093 testdev; in dm_test_uclass_devices_get_by_name()
1094 ret = uclass_next_device(&testdev)) { in dm_test_uclass_devices_get_by_name()
1096 ut_assert(testdev); in dm_test_uclass_devices_get_by_name()
1097 ut_assert(device_active(testdev)); in dm_test_uclass_devices_get_by_name()
1100 testdev->name, in dm_test_uclass_devices_get_by_name()
1106 ut_asserteq_str(testdev->name, finddev->name); in dm_test_uclass_devices_get_by_name()
1107 ut_asserteq_ptr(testdev, finddev); in dm_test_uclass_devices_get_by_name()