Searched refs:NODE_COUNT (Results 1 – 1 of 1) sorted by relevance
/openbmc/u-boot/test/dm/ |
H A D | core.c | 556 #define NODE_COUNT 10 macro 561 struct udevice *top[NODE_COUNT]; in dm_test_children() 562 struct udevice *child[NODE_COUNT]; in dm_test_children() 563 struct udevice *grandchild[NODE_COUNT]; in dm_test_children() 572 ut_assert(NODE_COUNT > 5); in dm_test_children() 575 ut_assertok(create_children(uts, dms->root, NODE_COUNT, 0, top)); in dm_test_children() 578 ut_assertok(create_children(uts, top[2], NODE_COUNT, 2, NULL)); in dm_test_children() 579 ut_assertok(create_children(uts, top[5], NODE_COUNT, 5, child)); in dm_test_children() 582 for (i = 0; i < NODE_COUNT; i++) in dm_test_children() 583 ut_assertok(create_children(uts, child[i], NODE_COUNT, 50 * i, in dm_test_children() [all …]
|